octane-0.16.1: Parse Rocket League replays.

Safe HaskellNone
LanguageHaskell2010

Octane.Type.Value

Synopsis

Documentation

data Value Source #

A replicated property's value.

Instances

Eq Value Source # 

Methods

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

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

Show Value Source # 

Methods

showsPrec :: Int -> Value -> ShowS #

show :: Value -> String #

showList :: [Value] -> ShowS #

Generic Value Source # 

Associated Types

type Rep Value :: * -> * #

Methods

from :: Value -> Rep Value x #

to :: Rep Value x -> Value #

NFData Value Source # 

Methods

rnf :: Value -> () #

ToJSON Value Source # 

Methods

toJSON :: Value -> Value

toEncoding :: Value -> Encoding

toJSONList :: [Value] -> Value

toEncodingList :: [Value] -> Encoding

ModifyField "properties" Replication Replication (Map Text Value) (Map Text Value) 

Methods

modifyField :: Proxy# Symbol "properties" -> (Map Text Value -> Map Text Value) -> Replication -> Replication

setField :: Proxy# Symbol "properties" -> Replication -> Map Text Value -> Replication

fieldLens :: Functor f => Proxy# Symbol "properties" -> (Map Text Value -> f (Map Text Value)) -> Replication -> f Replication

HasField "properties" Replication (Map Text Value) 

Methods

getField :: Proxy# Symbol "properties" -> Replication -> Map Text Value

ModifyRec "properties" (Map Text Value) cs0 => HasField "properties" (Rec cs0 Replication) (Map Text Value) 

Methods

getField :: Proxy# Symbol "properties" -> Rec cs0 Replication -> Map Text Value

ModifyRec "properties" (Map Text Value) cs0 => ModifyField "properties" (Rec cs0 Replication) (Rec cs0 Replication) (Map Text Value) (Map Text Value) 

Methods

modifyField :: Proxy# Symbol "properties" -> (Map Text Value -> Map Text Value) -> Rec cs0 Replication -> Rec cs0 Replication

setField :: Proxy# Symbol "properties" -> Rec cs0 Replication -> Map Text Value -> Rec cs0 Replication

fieldLens :: Functor f => Proxy# Symbol "properties" -> (Map Text Value -> f (Map Text Value)) -> Rec cs0 Replication -> f (Rec cs0 Replication)

type Rep Value Source # 
type Rep Value = D1 (MetaData "Value" "Octane.Type.Value" "octane-0.16.1-GutvkXgevkCABZiWZysr0h" False) ((:+:) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "ValueBoolean" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 BooleanValue))) ((:+:) (C1 (MetaCons "ValueByte" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedUnpack) (Rec0 ByteValue))) (C1 (MetaCons "ValueCamSettings" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 CamSettingsValue))))) ((:+:) (C1 (MetaCons "ValueDemolish" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 DemolishValue))) ((:+:) (C1 (MetaCons "ValueEnum" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 EnumValue))) (C1 (MetaCons "ValueExplosion" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 ExplosionValue)))))) ((:+:) ((:+:) (C1 (MetaCons "ValueFlaggedInt" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 FlaggedIntValue))) ((:+:) (C1 (MetaCons "ValueFloat" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedUnpack) (Rec0 FloatValue))) (C1 (MetaCons "ValueGameMode" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedUnpack) (Rec0 GameModeValue))))) ((:+:) ((:+:) (C1 (MetaCons "ValueInt" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedUnpack) (Rec0 IntValue))) (C1 (MetaCons "ValueLoadout" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 LoadoutValue)))) ((:+:) (C1 (MetaCons "ValueLoadoutOnline" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 LoadoutOnlineValue))) (C1 (MetaCons "ValueLoadouts" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 LoadoutsValue))))))) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "ValueLoadoutsOnline" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 LoadoutsOnlineValue))) ((:+:) (C1 (MetaCons "ValueLocation" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 LocationValue))) (C1 (MetaCons "ValueMusicStinger" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 MusicStingerValue))))) ((:+:) (C1 (MetaCons "ValuePickup" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 PickupValue))) ((:+:) (C1 (MetaCons "ValuePrivateMatchSettings" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 PrivateMatchSettingsValue))) (C1 (MetaCons "ValueQWord" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedUnpack) (Rec0 QWordValue)))))) ((:+:) ((:+:) (C1 (MetaCons "ValueRelativeRotation" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 RelativeRotationValue))) ((:+:) (C1 (MetaCons "ValueReservation" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 ReservationValue))) (C1 (MetaCons "ValueRigidBodyState" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 RigidBodyStateValue))))) ((:+:) ((:+:) (C1 (MetaCons "ValueString" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 StringValue))) (C1 (MetaCons "ValueTeamPaint" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 TeamPaintValue)))) ((:+:) (C1 (MetaCons "ValueUniqueId" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 UniqueIdValue))) (C1 (MetaCons "ValueWeldedInfo" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 WeldedInfoValue))))))))
type UpdateType "properties" Replication (Map Text Value) 
type UpdateType "properties" Replication (Map Text Value) = Replication