octane-0.13.2: Parse Rocket League replays.

Safe HaskellNone
LanguageHaskell2010

Octane.Data

Synopsis

Documentation

>>> :set -XOverloadedStrings

classes :: Map Text Text Source #

A map from object names to their class names.

>>> Map.lookup "Archetypes.Ball.Ball_Default" classes
Just "TAGame.Ball_TA"

Note that some object names have been normalized to make lookup easier.

>>> Map.lookup "Neotokyo_p.TheWorld:PersistentLevel.InMapScoreboard_TA_0@" classes
Nothing
>>> Map.lookup "TheWorld:PersistentLevel.InMapScoreboard_TA" classes
Just "TAGame.InMapScoreboard_TA"

classesWithLocation :: Set Text Source #

A set of classes that have an initial location vector.

>>> Set.member "TAGame.Ball_TA" classesWithLocation
True

classesWithRotation :: Set Text Source #

A set of classes that have an initial rotation vector.

>>> Set.member "TAGame.Ball_TA" classesWithRotation
True

gameModes :: Bimap Int Text Source #

A one-to-one mapping between game mode IDs and their names.

>>> Bimap.lookup 1 gameModes :: Maybe StrictText.Text
Just "Hockey"

products :: Bimap Word Text Source #

A one-to-one mapping between product IDs and their names.

>>> Bimap.lookup 1 products :: Maybe StrictText.Text
Just "Antenna_8Ball"

properties :: Map Text Text Source #

A mapping between property names and their serialized type.

>>> Map.lookup "Engine.Actor:bBlockActors" properties
Just "boolean"