octane-0.13.2: Parse Rocket League replays.

Safe HaskellNone
LanguageHaskell2010

Octane.Type.ReplayWithoutFrames

Synopsis

Documentation

data ReplayWithoutFrames Source #

A partially-processed replay. This has parsed all of the high-level metadata, but it has not parsed any of the network stream.

See ReplayWithFrames.

Instances

Eq ReplayWithoutFrames Source # 
Show ReplayWithoutFrames Source # 
Generic ReplayWithoutFrames Source # 
Binary ReplayWithoutFrames Source # 
NFData ReplayWithoutFrames Source # 

Methods

rnf :: ReplayWithoutFrames -> () #

type Rep ReplayWithoutFrames Source # 
type Rep ReplayWithoutFrames = D1 (MetaData "ReplayWithoutFrames" "Octane.Type.ReplayWithoutFrames" "octane-0.13.2-Jhh2dCvgfd3Aq8n4T2jPT6" False) (C1 (MetaCons "ReplayWithoutFrames" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "version1") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Word32)) ((:*:) (S1 (MetaSel (Just Symbol "version2") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Word32)) (S1 (MetaSel (Just Symbol "label") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "properties") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Dictionary Property))) (S1 (MetaSel (Just Symbol "levels") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (List Text)))) ((:*:) (S1 (MetaSel (Just Symbol "keyFrames") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (List KeyFrame))) (S1 (MetaSel (Just Symbol "stream") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Stream))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "messages") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (List Message))) ((:*:) (S1 (MetaSel (Just Symbol "marks") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (List Mark))) (S1 (MetaSel (Just Symbol "packages") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (List Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "objects") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (List Text))) (S1 (MetaSel (Just Symbol "names") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (List Text)))) ((:*:) (S1 (MetaSel (Just Symbol "classes") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (List ClassItem))) (S1 (MetaSel (Just Symbol "cache") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (List CacheItem))))))))

fromRawReplay :: Monad m => RawReplay -> m ReplayWithoutFrames Source #

Converts a RawReplay into a ReplayWithoutFrames. Operates in a Monad so that it can fail somewhat gracefully.

toRawReplay :: Monad m => ReplayWithoutFrames -> m RawReplay Source #

Converts a ReplayWithoutFrames into a RawReplay. Operates in a Monad so that it can fail somewhat gracefully.