2023-03-09 17:38:58 +01:00
|
|
|
class ChuniConstants:
|
2023-02-17 07:02:21 +01:00
|
|
|
GAME_CODE = "SDBT"
|
|
|
|
GAME_CODE_NEW = "SDHD"
|
|
|
|
|
2023-03-05 03:58:51 +01:00
|
|
|
CONFIG_NAME = "chuni.yaml"
|
|
|
|
|
2023-02-17 07:02:21 +01:00
|
|
|
VER_CHUNITHM = 0
|
|
|
|
VER_CHUNITHM_PLUS = 1
|
|
|
|
VER_CHUNITHM_AIR = 2
|
|
|
|
VER_CHUNITHM_AIR_PLUS = 3
|
2023-03-09 17:38:58 +01:00
|
|
|
VER_CHUNITHM_STAR = 4
|
2023-02-17 07:02:21 +01:00
|
|
|
VER_CHUNITHM_STAR_PLUS = 5
|
|
|
|
VER_CHUNITHM_AMAZON = 6
|
|
|
|
VER_CHUNITHM_AMAZON_PLUS = 7
|
|
|
|
VER_CHUNITHM_CRYSTAL = 8
|
|
|
|
VER_CHUNITHM_CRYSTAL_PLUS = 9
|
|
|
|
VER_CHUNITHM_PARADISE = 10
|
|
|
|
VER_CHUNITHM_NEW = 11
|
|
|
|
VER_CHUNITHM_NEW_PLUS = 12
|
2023-05-10 21:32:35 +02:00
|
|
|
VER_CHUNITHM_SUN = 13
|
2023-02-17 07:02:21 +01:00
|
|
|
|
2023-03-09 17:38:58 +01:00
|
|
|
VERSION_NAMES = [
|
2023-05-10 21:32:35 +02:00
|
|
|
"CHUNITHM",
|
|
|
|
"CHUNITHM PLUS",
|
|
|
|
"CHUNITHM AIR",
|
|
|
|
"CHUNITHM AIR PLUS",
|
|
|
|
"CHUNITHM STAR",
|
|
|
|
"CHUNITHM STAR PLUS",
|
|
|
|
"CHUNITHM AMAZON",
|
|
|
|
"CHUNITHM AMAZON PLUS",
|
|
|
|
"CHUNITHM CRYSTAL",
|
|
|
|
"CHUNITHM CRYSTAL PLUS",
|
|
|
|
"CHUNITHM PARADISE",
|
|
|
|
"CHUNITHM NEW!!",
|
|
|
|
"CHUNITHM NEW PLUS!!",
|
|
|
|
"CHUNITHM SUN"
|
2023-03-09 17:38:58 +01:00
|
|
|
]
|
2023-02-17 07:02:21 +01:00
|
|
|
|
|
|
|
@classmethod
|
|
|
|
def game_ver_to_string(cls, ver: int):
|
|
|
|
return cls.VERSION_NAMES[ver]
|