2023-05-26 19:45:20 +02:00
|
|
|
from enum import Enum
|
|
|
|
|
|
|
|
|
|
|
|
class SaoConstants:
|
|
|
|
GAME_CODE = "SDEW"
|
2024-01-09 09:07:04 +01:00
|
|
|
GAME_CDS = ["SAO1"]
|
2023-05-26 19:45:20 +02:00
|
|
|
|
|
|
|
CONFIG_NAME = "sao.yaml"
|
|
|
|
|
|
|
|
VER_SAO = 0
|
|
|
|
|
|
|
|
VERSION_NAMES = ("Sword Art Online Arcade")
|
2024-01-09 09:07:04 +01:00
|
|
|
|
|
|
|
SERIAL_IDENT_SATALITE = 4
|
|
|
|
SERIAL_IDENT_TERMINAL = 5
|
|
|
|
|
|
|
|
SERIAL_IDENT = [2825]
|
|
|
|
NETID_PREFIX = ["ABLN"]
|
|
|
|
SERIAL_REGIONS = [1]
|
|
|
|
SERIAL_ROLES = [3]
|
|
|
|
SERIAL_CAB_IDENTS = [SERIAL_IDENT_SATALITE, SERIAL_IDENT_TERMINAL]
|
2023-05-26 19:45:20 +02:00
|
|
|
|
|
|
|
@classmethod
|
|
|
|
def game_ver_to_string(cls, ver: int):
|
|
|
|
return cls.VERSION_NAMES[ver]
|