octane-0.16.2: Parse Rocket League replays.

Safe HaskellNone
LanguageHaskell2010

Octane.Type.Property

Synopsis

Documentation

data Property Source #

A metadata property. All properties have a size, but only some actually use it. The value stored in the property can be an array, a boolean, and so on.

Instances

Eq Property Source # 
Show Property Source # 
Generic Property Source # 

Associated Types

type Rep Property :: * -> * #

Methods

from :: Property -> Rep Property x #

to :: Rep Property x -> Property #

ToJSON Property Source # 
Binary Property Source #

Stored with the size first, then the value.

Methods

put :: Property -> Put #

get :: Get Property #

putList :: [Property] -> Put #

NFData Property Source # 

Methods

rnf :: Property -> () #

ModifyField "properties" ReplayWithoutFrames ReplayWithoutFrames (Dictionary Property) (Dictionary Property) # 
ModifyField "properties" ReplayWithFrames ReplayWithFrames (Dictionary Property) (Dictionary Property) # 
ModifyField "properties" OptimizedReplay OptimizedReplay (Dictionary Property) (Dictionary Property) # 
ModifyField "metadata" Replay Replay (Map Text Property) (Map Text Property) # 

Methods

modifyField :: Proxy# Symbol "metadata" -> (Map Text Property -> Map Text Property) -> Replay -> Replay #

setField :: Proxy# Symbol "metadata" -> Replay -> Map Text Property -> Replay #

fieldLens :: Functor f => Proxy# Symbol "metadata" -> (Map Text Property -> f (Map Text Property)) -> Replay -> f Replay #

HasField "properties" ReplayWithoutFrames (Dictionary Property) # 
HasField "properties" ReplayWithFrames (Dictionary Property) # 
HasField "properties" OptimizedReplay (Dictionary Property) # 
HasField "metadata" Replay (Map Text Property) # 

Methods

getField :: Proxy# Symbol "metadata" -> Replay -> Map Text Property #

ModifyRec "properties" (Dictionary Property) cs0 => HasField "properties" (Rec cs0 ReplayWithoutFrames) (Dictionary Property) # 
ModifyRec "properties" (Dictionary Property) cs0 => HasField "properties" (Rec cs0 ReplayWithFrames) (Dictionary Property) # 

Methods

getField :: Proxy# Symbol "properties" -> Rec cs0 ReplayWithFrames -> Dictionary Property #

ModifyRec "properties" (Dictionary Property) cs0 => HasField "properties" (Rec cs0 OptimizedReplay) (Dictionary Property) # 

Methods

getField :: Proxy# Symbol "properties" -> Rec cs0 OptimizedReplay -> Dictionary Property #

ModifyRec "metadata" (Map Text Property) cs0 => HasField "metadata" (Rec cs0 Replay) (Map Text Property) # 

Methods

getField :: Proxy# Symbol "metadata" -> Rec cs0 Replay -> Map Text Property #

ModifyRec "properties" (Dictionary Property) cs0 => ModifyField "properties" (Rec cs0 ReplayWithoutFrames) (Rec cs0 ReplayWithoutFrames) (Dictionary Property) (Dictionary Property) # 
ModifyRec "properties" (Dictionary Property) cs0 => ModifyField "properties" (Rec cs0 ReplayWithFrames) (Rec cs0 ReplayWithFrames) (Dictionary Property) (Dictionary Property) # 
ModifyRec "properties" (Dictionary Property) cs0 => ModifyField "properties" (Rec cs0 OptimizedReplay) (Rec cs0 OptimizedReplay) (Dictionary Property) (Dictionary Property) # 
ModifyRec "metadata" (Map Text Property) cs0 => ModifyField "metadata" (Rec cs0 Replay) (Rec cs0 Replay) (Map Text Property) (Map Text Property) # 

Methods

modifyField :: Proxy# Symbol "metadata" -> (Map Text Property -> Map Text Property) -> Rec cs0 Replay -> Rec cs0 Replay #

setField :: Proxy# Symbol "metadata" -> Rec cs0 Replay -> Map Text Property -> Rec cs0 Replay #

fieldLens :: Functor f => Proxy# Symbol "metadata" -> (Map Text Property -> f (Map Text Property)) -> Rec cs0 Replay -> f (Rec cs0 Replay) #

type Rep Property Source # 
type UpdateType "properties" ReplayWithoutFrames (Dictionary Property) # 
type UpdateType "properties" ReplayWithFrames (Dictionary Property) # 
type UpdateType "properties" OptimizedReplay (Dictionary Property) # 
type UpdateType "metadata" Replay (Map Text Property) # 
type UpdateType "metadata" Replay (Map Text Property) = Replay