Bases: IntEnum
This enum class provides the integer values used to reference the colors in-game.
These are used in the 'Change Object Color', etc. effects
Source code in AoE2ScenarioParser/datasets/players.py
40
41
42
43
44
45
46
47
48
49
50
51
52 | class PlayerColorId(IntEnum):
"""
This enum class provides the integer values used to reference the colors in-game.
These are used in the 'Change Object Color', etc. effects
"""
BLUE = 1
RED = 2
GREEN = 3
YELLOW = 4
AQUA = 5
PURPLE = 6
GRAY = 7
ORANGE = 8
|
Attributes
BLUE = 1
class-attribute
instance-attribute
Value:
1
RED = 2
class-attribute
instance-attribute
Value:
2
GREEN = 3
class-attribute
instance-attribute
Value:
3
YELLOW = 4
class-attribute
instance-attribute
Value:
4
AQUA = 5
class-attribute
instance-attribute
Value:
5
PURPLE = 6
class-attribute
instance-attribute
Value:
6
GRAY = 7
class-attribute
instance-attribute
Value:
7
ORANGE = 8
class-attribute
instance-attribute
Value:
8