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