artemis/titles/pokken/const.py

34 lines
605 B
Python
Raw Normal View History

from enum import Enum
2023-03-09 16:38:58 +00:00
class PokkenConstants:
2023-02-17 07:09:26 +00:00
GAME_CODE = "SDAK"
2024-01-09 08:07:04 +00:00
GAME_CDS = ["PKF1"]
2023-02-17 07:09:26 +00:00
CONFIG_NAME = "pokken.yaml"
VER_POKKEN = 0
2023-03-09 16:38:58 +00:00
VERSION_NAMES = "Pokken Tournament"
2023-02-17 07:09:26 +00:00
2024-01-09 08:07:04 +00:00
SERIAL_IDENT = [2747]
NETID_PREFIX = ["ABGN"]
SERIAL_REGIONS = [1]
SERIAL_ROLES = [3]
SERIAL_CAB_IDENTS = [19]
class BATTLE_TYPE(Enum):
2023-06-14 07:00:52 +00:00
TUTORIAL = 1
AI = 2
LAN = 3
WAN = 4
2023-07-23 16:47:37 +00:00
TUTORIAL_3 = 7
class BATTLE_RESULT(Enum):
2023-06-14 07:00:52 +00:00
WIN = 1
LOSS = 2
2023-02-17 07:09:26 +00:00
@classmethod
def game_ver_to_string(cls, ver: int):
2023-03-09 16:38:58 +00:00
return cls.VERSION_NAMES[ver]