1
0
forked from Hay1tsme/artemis
artemis/titles/pokken/const.py

25 lines
501 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"
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
class BATTLE_TYPE(Enum):
BATTLE_TYPE_TUTORIAL = 1
BATTLE_TYPE_AI = 2
BATTLE_TYPE_LAN = 3
BATTLE_TYPE_WAN = 4
class BATTLE_RESULT(Enum):
BATTLE_RESULT_WIN = 1
BATTLE_RESULT_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]