\
Constants
- TYPE_SCIENCE = 1
- Science card/cost type
- Type
int
- TYPE_ENGINEERING = 2
- Engineering card/cost type
- Type
int
- TYPE_CULTURE = 3
- Culture card/cost type
- Type
int
- TYPE_GENERAL_KNOWLEDGE = 4
- General Knowledge cost type
- Type
int
- TYPE_SCIENCE_TR = \\clienttranslate\("Science"\)
- Marked for translation string for Science card/cost type
- Type
string
- TYPE_ENGINEERING_TR = \\clienttranslate\("Engineering"\)
- Marked for translation string for Engineering card/cost type
- Type
string
- TYPE_CULTURE_TR = \\clienttranslate\("Culture"\)
- Marked for translation string for Culture card/cost type
- Type
string
- TYPE_GENERAL_KNOWLEDGE_TR = \\clienttranslate\("General Knowledge"\)
- Marked for translation string for General Knowledge cost type
- Type
string
- POWER_PRESTIGE = "Prestige"
- Prestige power type
- Type
string
- POWER_POPULATION = "Population"
- Population power type
- Type
string
- POWER_ARMY = "Army"
- Army power type
- Type
string
- POWER_PRESTIGE_TR = \\clienttranslate\("Prestige"\)
- Marked for translation Prestige power type
- Type
string
- POWER_POPULATION_TR = \\clienttranslate\("Population"\)
- Marked for translation Population power type
- Type
string
- POWER_ARMY_TR = \\clienttranslate\("Army"\)
- Marked for translation Army power type
- Type
string
- SKILL_ACTION = "Action"
- Action skill
- Type
string
- SKILL_DRAW = "Draw"
- Draw skill
- Type
string
- SKILL_HANDSIZE = "HandSize"
- Handsize skill
- Type
string
- SKILL_SHUFFLE = "Shuffle"
- Shuffle and draw skill
- Type
string
- SKILL_DEVELOPMENT = "Development"
- Development skill
- Type
string
- SKILL_RESEARCH = "Research"
- Research skill
- Type
string
- SKILL_QUICKDRAW = "QuickDraw"
- Quick Draw skill
- Type
string
- TOKEN_SCIENCE = "ScienceToken"
- TOKEN_ENGINEERING = "EngineeringToken"
- TOKEN_CULTURE = "CultureToken"
- TOKEN_GK = "GKToken"
- TOKEN_TYPE_SCIENCE = "Science"
- TOKEN_TYPE_ENGINEERING = "Engineering"
- TOKEN_TYPE_CULTURE = "Culture"
- TOKEN_TYPE_GK = "General knowledge"
- TOKEN_AGE_2 = "AgeIIToken"
- TOKEN_AGE_3 = "AgeIIIToken"
- TOKEN_AGE_4 = "AgeIVToken"
- TOKEN_AGE_5 = "AgeVToken"
- ACTION_DISCOVER = 1
- Discover action id used in the DB
- Type
int
- ACTION_DRAW = 2
- Draw action id used in the DB
- Type
int
- ACTION_QUICKDRAW = 3
- Quick draw action id used in the DB
- Type
int
- ACTION_SHUFFLE = 4
- Shuffle and Draw action id used in the DB
- Type
int
- VP_ENGINEERING = \-1
- Special victory point value used for Age V combustion card, and using it to trigger special victory points
- Type
int
- VP_SCIENCE = \-2
- Special victory point value used for Age V assembly line card, and using it to trigger special victory points
- Type
int
- VP_CULTURE = \-3
- Special victory point value used for Age V television card, and using it to trigger special victory points
- Type
int
- PET_DEFINED_CONSTANTS = \\true
- As the file may be included from multiple sources, this constant is used to make sure constants have or have notbeen defined
- Type
bool
- PET_MODULE_DIR = \_\_DIR\_\_ \. \'/\.\./\'
- PET_FACTORY_DIR = \\PET\_MODULE\_DIR \. \'/Factory/\'
- PET_INTERFACE_DIR = \\PET\_MODULE\_DIR \. \'/Interface/\'
- PET_MIDDLEWARE_DIR = \\PET\_MODULE\_DIR \. \'/Middleware/\'
- PET_OBJECT_DIR = \\PET\_MODULE\_DIR \. \'/Object/\'
- PET_TRAITS_DIR = \\PET\_MODULE\_DIR \. \'/Traits/\'
- PET_ACTIONS_TRAITS_DIR = \\PET\_TRAITS\_DIR \. \'/Actions/\'
- PET_DEBUG_TRAITS_DIR = \\PET\_TRAITS\_DIR \. \'/Debug/\'
- PET_FEACTIONS_TRAITS_DIR = \\PET\_TRAITS\_DIR \. \'/FrontEndActions/\'
- PET_STATES_TRAITS_DIR = \\PET\_TRAITS\_DIR \. \'/States/\'
- PET_STATES_ACTION_TRAITS_DIR = \\PET\_STATES\_TRAITS\_DIR \. \'/Actions/\'
- PET_STATES_ARGUMENTS_TRAITS_DIR = \\PET\_STATES\_TRAITS\_DIR \. \'/Arguments/\'
- PET_UTILITY_TRAITS_DIR = \\PET\_TRAITS\_DIR \. \'/Utility/\'
Functions
- classMapAutoloader($class)
- ClassMap autoloader for the project, registered to `spl_autoload_functions`
- Parameters
$class (
string
) – fully qualified class name of the class to be autoloaded