Rattletrap.Type.Message
data Message Source #
Constructors
Fields
Which frame this message belongs to, starting from 0.
The primary player's name.
The content of the message.
Defined in Rattletrap.Type.Message
Methods
parseJSON :: Value -> Parser Message #
parseJSONList :: Value -> Parser [Message] #
omittedField :: Maybe Message #
toJSON :: Message -> Value #
toEncoding :: Message -> Encoding #
toJSONList :: [Message] -> Value #
toEncodingList :: [Message] -> Encoding #
omitField :: Message -> Bool #
showsPrec :: Int -> Message -> ShowS #
show :: Message -> String #
showList :: [Message] -> ShowS #
(==) :: Message -> Message -> Bool #
(/=) :: Message -> Message -> Bool #
schema :: Schema Source #
bytePut :: Message -> BytePut Source #
byteGet :: ByteGet Message Source #