SecondaryGameMode
Bases: _DataSetIntFlags
This enum class provides the integer values for the different secondary game modes.
Examples
Source code in AoE2ScenarioParser/datasets/trigger_lists/secondary_game_mode.py
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
|
Attributes¶
Functions¶
def combine(...)
staticmethod
¶
This method combines the given hero status flags into an integer value
Parameters:
Name | Type | Description | Default |
---|---|---|---|
empire_wars |
bool
|
If empire wars should be enabled |
False
|
sudden_death |
bool
|
If sudden death should be enabled |
False
|
regicide |
bool
|
If regicide should be enabled |
False
|
king_of_the_hill |
bool
|
If king of the hill should be enabled |
False
|
Returns:
Type | Description |
---|---|
SecondaryGameMode
|
An integer combining all the different hero status flags into one value |
Source code in AoE2ScenarioParser/datasets/trigger_lists/secondary_game_mode.py
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
|