mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Also reorders the enum so that iteration shows the order we want in the UI by default. Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1672
16 lines
290 B
Python
16 lines
290 B
Python
from enum import Enum, unique
|
|
|
|
|
|
@unique
|
|
class StartType(Enum):
|
|
"""The start type for a Flight.
|
|
|
|
This is distinct from dcs.mission.StartType because we need a fourth state:
|
|
IN_FLIGHT.
|
|
"""
|
|
|
|
COLD = "Cold"
|
|
WARM = "Warm"
|
|
RUNWAY = "Runway"
|
|
IN_FLIGHT = "In Flight"
|