artemis/titles/cxb/const.py

21 lines
494 B
Python
Raw Normal View History

2023-03-09 16:38:58 +00:00
class CxbConstants:
GAME_CODE = "SDCA"
CONFIG_NAME = "cxb.yaml"
VER_CROSSBEATS_REV = 0
VER_CROSSBEATS_REV_SUNRISE_S1 = 1
VER_CROSSBEATS_REV_SUNRISE_S2 = 2
VER_CROSSBEATS_REV_SUNRISE_S2_OMNI = 3
2023-03-09 16:38:58 +00:00
VERSION_NAMES = (
"crossbeats REV.",
"crossbeats REV. SUNRISE",
"crossbeats REV. SUNRISE S2",
"crossbeats REV. SUNRISE S2 Omnimix",
)
@classmethod
def game_ver_to_string(cls, ver: int):
2023-03-09 16:38:58 +00:00
return cls.VERSION_NAMES[ver]