| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Octane.Data
Documentation
>>>:set -XOverloadedStrings
classes :: Map Text Text Source #
A map from object names to their class names.
>>>Map.lookup "Archetypes.Ball.Ball_Default" classesJust "TAGame.Ball_TA"
Note that some object names have been normalized to make lookup easier.
>>>Map.lookup "Neotokyo_p.TheWorld:PersistentLevel.InMapScoreboard_TA_0@" classesNothing>>>Map.lookup "TheWorld:PersistentLevel.InMapScoreboard_TA" classesJust "TAGame.InMapScoreboard_TA"
classesWithLocation :: Set Text Source #
A set of classes that have an initial location vector.
>>>Set.member "TAGame.Ball_TA" classesWithLocationTrue
classesWithRotation :: Set Text Source #
A set of classes that have an initial rotation vector.
>>>Set.member "TAGame.Ball_TA" classesWithRotationTrue
gameModes :: Bimap Int Text Source #
A one-to-one mapping between game mode IDs and their names.
>>>Bimap.lookup 1 gameModes :: Maybe StrictText.TextJust "Hockey"