Bases: _DataSetIntEnums
This enum class provides the integer values used to reference the unit of time used in an effect. Used in the
'Display Timer' effect.
Examples
Source code in AoE2ScenarioParser/datasets/trigger_lists/time_unit.py
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 | class TimeUnit(_DataSetIntEnums):
"""
This enum class provides the integer values used to reference the unit of time used in an effect. Used in the
'Display Timer' effect.
**Examples**
"""
YEARS = 0
"""In-Game years. A year is 5 seconds in-game time."""
MINUTES = 1
"""In-Game minutes."""
SECONDS = 2
"""In-Game seconds."""
MINUTES_AND_SECONDS = 3
"""In-Game Minutes abd seconds."""
|
Attributes
YEARS = 0
class-attribute
instance-attribute
Value:
0
In-Game years. A year is 5 seconds in-game time.
MINUTES = 1
class-attribute
instance-attribute
Value:
1
SECONDS = 2
class-attribute
instance-attribute
Value:
2
MINUTES_AND_SECONDS = 3
class-attribute
instance-attribute
Value:
3
In-Game Minutes abd seconds.