1
0
mirror of synced 2024-12-21 09:15:52 +01:00
artemis/titles/pokken/const.py

26 lines
426 B
Python
Raw Normal View History

from enum import Enum
2023-03-09 17:38:58 +01:00
class PokkenConstants:
2023-02-17 08:09:26 +01:00
GAME_CODE = "SDAK"
CONFIG_NAME = "pokken.yaml"
VER_POKKEN = 0
2023-03-09 17:38:58 +01:00
VERSION_NAMES = "Pokken Tournament"
2023-02-17 08:09:26 +01:00
class BATTLE_TYPE(Enum):
2023-06-14 09:00:52 +02:00
TUTORIAL = 1
AI = 2
LAN = 3
WAN = 4
class BATTLE_RESULT(Enum):
2023-06-14 09:00:52 +02:00
WIN = 1
LOSS = 2
2023-02-17 08:09:26 +01:00
@classmethod
def game_ver_to_string(cls, ver: int):
2023-03-09 17:38:58 +01:00
return cls.VERSION_NAMES[ver]