Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data ReplicationValue Source #
Spawned Spawned | Creates a new actor. |
Updated Updated | Updates an existing actor. |
Destroyed Destroyed | Destroys an existing actor. |
Instances
FromJSON ReplicationValue Source # | |
Defined in Rattletrap.Type.ReplicationValue parseJSON :: Value -> Parser ReplicationValue # parseJSONList :: Value -> Parser [ReplicationValue] # | |
ToJSON ReplicationValue Source # | |
Defined in Rattletrap.Type.ReplicationValue toJSON :: ReplicationValue -> Value # toEncoding :: ReplicationValue -> Encoding # toJSONList :: [ReplicationValue] -> Value # toEncodingList :: [ReplicationValue] -> Encoding # omitField :: ReplicationValue -> Bool # | |
Show ReplicationValue Source # | |
Defined in Rattletrap.Type.ReplicationValue showsPrec :: Int -> ReplicationValue -> ShowS # show :: ReplicationValue -> String # showList :: [ReplicationValue] -> ShowS # | |
Eq ReplicationValue Source # | |
Defined in Rattletrap.Type.ReplicationValue (==) :: ReplicationValue -> ReplicationValue -> Bool # (/=) :: ReplicationValue -> ReplicationValue -> Bool # |
bitPut :: ReplicationValue -> BitPut Source #
bitGet :: Maybe Str -> Version -> Maybe Str -> ClassAttributeMap -> CompressedWord -> Map CompressedWord U32 -> BitGet (Map CompressedWord U32, ReplicationValue) Source #