Merge branch 'cardmaker_ongeki' into fork_develop

This commit is contained in:
2023-03-06 17:08:51 +01:00
25 changed files with 2232 additions and 40 deletions

View File

@ -1,5 +1,7 @@
from typing import Final, Dict
from enum import Enum
class OngekiConstants():
GAME_CODE = "SDDT"
@ -37,6 +39,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
@ -50,4 +66,4 @@ class OngekiConstants():
@classmethod
def game_ver_to_string(cls, ver: int):
return cls.VERSION_NAMES[ver]
return cls.VERSION_NAMES[ver]