octane-0.16.0: Parse Rocket League replays.

Safe HaskellNone
LanguageHaskell2010

Octane.Type.Message

Synopsis

Documentation

data Message Source #

A debugging message. Replays do not have any of these anymore.

Constructors

Message 

Fields

Instances

Eq Message Source # 

Methods

(==) :: Message -> Message -> Bool #

(/=) :: Message -> Message -> Bool #

Show Message Source # 
Generic Message Source # 

Associated Types

type Rep Message :: * -> * #

Methods

from :: Message -> Rep Message x #

to :: Rep Message x -> Message #

Binary Message Source #

Fields stored in order, one after the other.

Methods

put :: Message -> Put #

get :: Get Message #

putList :: [Message] -> Put #

NFData Message Source # 

Methods

rnf :: Message -> () #

HasField "content" Message Text Source # 

Methods

getField :: Proxy# Symbol "content" -> Message -> Text #

HasField "frame" Message Word32 Source # 

Methods

getField :: Proxy# Symbol "frame" -> Message -> Word32 #

HasField "name" Message Text Source # 

Methods

getField :: Proxy# Symbol "name" -> Message -> Text #

ModifyField "content" Message Message Text Text Source # 

Methods

modifyField :: Proxy# Symbol "content" -> (Text -> Text) -> Message -> Message #

setField :: Proxy# Symbol "content" -> Message -> Text -> Message #

fieldLens :: Functor f => Proxy# Symbol "content" -> (Text -> f Text) -> Message -> f Message #

ModifyField "frame" Message Message Word32 Word32 Source # 

Methods

modifyField :: Proxy# Symbol "frame" -> (Word32 -> Word32) -> Message -> Message #

setField :: Proxy# Symbol "frame" -> Message -> Word32 -> Message #

fieldLens :: Functor f => Proxy# Symbol "frame" -> (Word32 -> f Word32) -> Message -> f Message #

ModifyField "name" Message Message Text Text Source # 

Methods

modifyField :: Proxy# Symbol "name" -> (Text -> Text) -> Message -> Message #

setField :: Proxy# Symbol "name" -> Message -> Text -> Message #

fieldLens :: Functor f => Proxy# Symbol "name" -> (Text -> f Text) -> Message -> f Message #

ModifyField "messages" ReplayWithoutFrames ReplayWithoutFrames (List Message) (List Message) # 
ModifyField "messages" ReplayWithFrames ReplayWithFrames (List Message) (List Message) # 
ModifyField "messages" OptimizedReplay OptimizedReplay (List Message) (List Message) # 
HasField "messages" ReplayWithoutFrames (List Message) # 
HasField "messages" ReplayWithFrames (List Message) # 

Methods

getField :: Proxy# Symbol "messages" -> ReplayWithFrames -> List Message #

HasField "messages" OptimizedReplay (List Message) # 

Methods

getField :: Proxy# Symbol "messages" -> OptimizedReplay -> List Message #

ModifyRec "content" Text cs0 => HasField "content" (Rec cs0 Message) Text Source # 

Methods

getField :: Proxy# Symbol "content" -> Rec cs0 Message -> Text #

ModifyRec "frame" Word32 cs0 => HasField "frame" (Rec cs0 Message) Word32 Source # 

Methods

getField :: Proxy# Symbol "frame" -> Rec cs0 Message -> Word32 #

ModifyRec "name" Text cs0 => HasField "name" (Rec cs0 Message) Text Source # 

Methods

getField :: Proxy# Symbol "name" -> Rec cs0 Message -> Text #

ModifyRec "messages" (List Message) cs0 => HasField "messages" (Rec cs0 ReplayWithoutFrames) (List Message) # 

Methods

getField :: Proxy# Symbol "messages" -> Rec cs0 ReplayWithoutFrames -> List Message #

ModifyRec "messages" (List Message) cs0 => HasField "messages" (Rec cs0 ReplayWithFrames) (List Message) # 

Methods

getField :: Proxy# Symbol "messages" -> Rec cs0 ReplayWithFrames -> List Message #

ModifyRec "messages" (List Message) cs0 => HasField "messages" (Rec cs0 OptimizedReplay) (List Message) # 

Methods

getField :: Proxy# Symbol "messages" -> Rec cs0 OptimizedReplay -> List Message #

ModifyRec "content" Text cs0 => ModifyField "content" (Rec cs0 Message) (Rec cs0 Message) Text Text Source # 

Methods

modifyField :: Proxy# Symbol "content" -> (Text -> Text) -> Rec cs0 Message -> Rec cs0 Message #

setField :: Proxy# Symbol "content" -> Rec cs0 Message -> Text -> Rec cs0 Message #

fieldLens :: Functor f => Proxy# Symbol "content" -> (Text -> f Text) -> Rec cs0 Message -> f (Rec cs0 Message) #

ModifyRec "frame" Word32 cs0 => ModifyField "frame" (Rec cs0 Message) (Rec cs0 Message) Word32 Word32 Source # 

Methods

modifyField :: Proxy# Symbol "frame" -> (Word32 -> Word32) -> Rec cs0 Message -> Rec cs0 Message #

setField :: Proxy# Symbol "frame" -> Rec cs0 Message -> Word32 -> Rec cs0 Message #

fieldLens :: Functor f => Proxy# Symbol "frame" -> (Word32 -> f Word32) -> Rec cs0 Message -> f (Rec cs0 Message) #

ModifyRec "name" Text cs0 => ModifyField "name" (Rec cs0 Message) (Rec cs0 Message) Text Text Source # 

Methods

modifyField :: Proxy# Symbol "name" -> (Text -> Text) -> Rec cs0 Message -> Rec cs0 Message #

setField :: Proxy# Symbol "name" -> Rec cs0 Message -> Text -> Rec cs0 Message #

fieldLens :: Functor f => Proxy# Symbol "name" -> (Text -> f Text) -> Rec cs0 Message -> f (Rec cs0 Message) #

ModifyRec "messages" (List Message) cs0 => ModifyField "messages" (Rec cs0 ReplayWithoutFrames) (Rec cs0 ReplayWithoutFrames) (List Message) (List Message) # 
ModifyRec "messages" (List Message) cs0 => ModifyField "messages" (Rec cs0 ReplayWithFrames) (Rec cs0 ReplayWithFrames) (List Message) (List Message) # 
ModifyRec "messages" (List Message) cs0 => ModifyField "messages" (Rec cs0 OptimizedReplay) (Rec cs0 OptimizedReplay) (List Message) (List Message) # 
type Rep Message Source # 
type Rep Message = D1 (MetaData "Message" "Octane.Type.Message" "octane-0.16.0-8BIJ4bXbBDKEzLgGTEoU4w" False) (C1 (MetaCons "Message" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "messageFrame") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Word32)) ((:*:) (S1 (MetaSel (Just Symbol "messageName") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "messageContent") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text)))))
type FieldType "content" Message Source # 
type FieldType "content" Message = Text
type FieldType "frame" Message Source # 
type FieldType "frame" Message = Word32
type FieldType "name" Message Source # 
type FieldType "name" Message = Text
type UpdateType "content" Message Text Source # 
type UpdateType "content" Message Text = Message
type UpdateType "frame" Message Word32 Source # 
type UpdateType "name" Message Text Source # 
type UpdateType "messages" ReplayWithoutFrames (List Message) # 
type UpdateType "messages" ReplayWithFrames (List Message) # 
type UpdateType "messages" OptimizedReplay (List Message) #