2023-04-14 02:51:28 -04:00
|
|
|
from enum import Enum
|
|
|
|
|
2023-04-23 21:04:52 -04:00
|
|
|
|
2023-03-09 11:38:58 -05:00
|
|
|
class PokkenConstants:
|
2023-02-17 02:09:26 -05:00
|
|
|
GAME_CODE = "SDAK"
|
|
|
|
|
|
|
|
CONFIG_NAME = "pokken.yaml"
|
|
|
|
|
|
|
|
VER_POKKEN = 0
|
|
|
|
|
2023-03-09 11:38:58 -05:00
|
|
|
VERSION_NAMES = "Pokken Tournament"
|
2023-02-17 02:09:26 -05:00
|
|
|
|
2023-04-14 02:51:28 -04:00
|
|
|
class BATTLE_TYPE(Enum):
|
2023-06-14 03:00:52 -04:00
|
|
|
TUTORIAL = 1
|
|
|
|
AI = 2
|
|
|
|
LAN = 3
|
|
|
|
WAN = 4
|
2023-07-23 12:47:37 -04:00
|
|
|
TUTORIAL_3 = 7
|
2023-04-14 02:51:28 -04:00
|
|
|
|
|
|
|
class BATTLE_RESULT(Enum):
|
2023-06-14 03:00:52 -04:00
|
|
|
WIN = 1
|
|
|
|
LOSS = 2
|
2023-04-14 02:51:28 -04:00
|
|
|
|
2023-02-17 02:09:26 -05:00
|
|
|
@classmethod
|
|
|
|
def game_ver_to_string(cls, ver: int):
|
2023-03-09 11:38:58 -05:00
|
|
|
return cls.VERSION_NAMES[ver]
|