2023-03-09 17:38:58 +01:00
|
|
|
class Mai2Constants:
|
2023-02-17 07:02:21 +01:00
|
|
|
GRADE = {
|
|
|
|
"D": 0,
|
|
|
|
"C": 1,
|
|
|
|
"B": 2,
|
|
|
|
"BB": 3,
|
|
|
|
"BBB": 4,
|
|
|
|
"A": 5,
|
|
|
|
"AA": 6,
|
|
|
|
"AAA": 7,
|
|
|
|
"S": 8,
|
|
|
|
"S+": 9,
|
|
|
|
"SS": 10,
|
|
|
|
"SS+": 11,
|
|
|
|
"SSS": 12,
|
2023-03-09 17:38:58 +01:00
|
|
|
"SSS+": 13,
|
2023-02-17 07:02:21 +01:00
|
|
|
}
|
2023-03-09 17:38:58 +01:00
|
|
|
FC = {"None": 0, "FC": 1, "FC+": 2, "AP": 3, "AP+": 4}
|
|
|
|
SYNC = {"None": 0, "FS": 1, "FS+": 2, "FDX": 3, "FDX+": 4}
|
2023-02-17 07:02:21 +01:00
|
|
|
|
|
|
|
DATE_TIME_FORMAT = "%Y-%m-%d %H:%M:%S"
|
|
|
|
|
|
|
|
GAME_CODE = "SDEZ"
|
|
|
|
|
|
|
|
CONFIG_NAME = "mai2.yaml"
|
|
|
|
|
|
|
|
VER_MAIMAI_DX = 0
|
|
|
|
VER_MAIMAI_DX_PLUS = 1
|
|
|
|
VER_MAIMAI_DX_SPLASH = 2
|
|
|
|
VER_MAIMAI_DX_SPLASH_PLUS = 3
|
|
|
|
VER_MAIMAI_DX_UNIVERSE = 4
|
|
|
|
VER_MAIMAI_DX_UNIVERSE_PLUS = 5
|
|
|
|
|
2023-03-09 17:38:58 +01:00
|
|
|
VERSION_STRING = (
|
|
|
|
"maimai Delux",
|
|
|
|
"maimai Delux PLUS",
|
|
|
|
"maimai Delux Splash",
|
|
|
|
"maimai Delux Splash PLUS",
|
|
|
|
"maimai Delux Universe",
|
|
|
|
"maimai Delux Universe PLUS",
|
|
|
|
)
|
2023-02-17 07:02:21 +01:00
|
|
|
|
|
|
|
@classmethod
|
|
|
|
def game_ver_to_string(cls, ver: int):
|
2023-03-09 17:38:58 +01:00
|
|
|
return cls.VERSION_STRING[ver]
|