Safe Haskell | None |
---|---|
Language | Haskell2010 |
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"