Initial Card Maker ONGEKI support

This commit is contained in:
2023-03-03 23:46:29 +01:00
parent 8fe0acae93
commit 3acc2dc197
22 changed files with 3582 additions and 13 deletions

View File

@ -1,5 +1,7 @@
from typing import Final, Dict
from enum import Enum
class OngekiConstants():
GAME_CODE = "SDDT"
@ -35,6 +37,20 @@ class OngekiConstants():
'SilverJewelEvent',
])
class CM_GACHA_KINDS(Enum):
Normal = 0
Pickup = 1
BonusRestored = 2
Free = 3
PickupBonusRestored = 4
class RARITY_TYPES(Enum):
N = 0
R = 1
SR = 2
SSR = 3
SRPlus = 12
# The game expects the server to give Lunatic an ID of 10, while the game uses 4 internally... except in Music.xml
class DIFF_NAME(Enum):
Basic = 0
@ -48,4 +64,4 @@ class OngekiConstants():
@classmethod
def game_ver_to_string(cls, ver: int):
return cls.VERSION_NAMES[ver]
return cls.VERSION_NAMES[ver]