2022-07-05 06:41:16 +00:00
|
|
|
from enum import Enum
|
|
|
|
|
2022-08-04 13:56:23 +00:00
|
|
|
__all__ = (
|
|
|
|
'Language',
|
|
|
|
'EquipmentsType',
|
|
|
|
'DigitType',
|
|
|
|
'ElementType',
|
|
|
|
'EquipType'
|
|
|
|
)
|
2022-07-29 04:31:21 +00:00
|
|
|
|
2022-07-16 19:36:14 +00:00
|
|
|
class Language(str, Enum):
|
|
|
|
EN = "en"
|
2022-07-29 04:31:21 +00:00
|
|
|
RU = "ru"
|
|
|
|
VI = "vi"
|
2022-07-16 19:36:14 +00:00
|
|
|
TH = "th"
|
|
|
|
PT = "pt"
|
|
|
|
KR = "kr"
|
|
|
|
JP = "jp"
|
|
|
|
ID = "id"
|
|
|
|
FR = "fr"
|
|
|
|
ES = "es"
|
|
|
|
DE = "de"
|
2023-01-04 05:03:07 +00:00
|
|
|
IT = "it"
|
|
|
|
TR = "tr"
|
2022-07-29 04:31:21 +00:00
|
|
|
|
2022-07-16 19:36:14 +00:00
|
|
|
"""
|
|
|
|
zh-CN: CHT
|
|
|
|
zh-TW: CHS
|
|
|
|
"""
|
|
|
|
TW = "cht"
|
|
|
|
CN = "chs"
|
|
|
|
CHT = "cht"
|
|
|
|
CHS = "chs"
|
|
|
|
|
2022-07-29 04:31:21 +00:00
|
|
|
|
2022-07-05 06:41:16 +00:00
|
|
|
class EquipmentsType(int, Enum):
|
|
|
|
UNKNOWN = -1
|
|
|
|
ARTIFACT = 0
|
|
|
|
WEAPON = 1
|
|
|
|
|
2022-07-29 04:31:21 +00:00
|
|
|
|
2022-07-05 06:41:16 +00:00
|
|
|
class DigitType(int, Enum):
|
|
|
|
NUMBER = 0
|
|
|
|
PERCENT = 1
|
2022-07-29 04:31:21 +00:00
|
|
|
|
|
|
|
|
2022-07-12 19:56:09 +00:00
|
|
|
class ElementType(str, Enum):
|
|
|
|
Unknown = "Unknown"
|
2022-07-18 08:41:53 +00:00
|
|
|
Cryo = "Ice"
|
2022-07-16 19:36:14 +00:00
|
|
|
Hydro = "Water"
|
|
|
|
Anemo = "Wind"
|
|
|
|
Pyro = "Fire"
|
|
|
|
Geo = "Rock"
|
|
|
|
Electro = "Electric"
|
2022-08-22 10:41:55 +00:00
|
|
|
Dendro = "Grass"
|
2022-07-29 04:31:21 +00:00
|
|
|
|
2022-07-05 06:41:16 +00:00
|
|
|
class EquipType(str, Enum):
|
2022-07-16 19:36:14 +00:00
|
|
|
Unknown = "UNKNOWN"
|
|
|
|
Flower = "EQUIP_BRACER"
|
|
|
|
Feather = "EQUIP_NECKLACE"
|
|
|
|
Sands = "EQUIP_SHOES"
|
|
|
|
Goblet = "EQUIP_RING"
|
2022-07-29 04:31:21 +00:00
|
|
|
Circlet = "EQUIP_DRESS"
|
2023-02-06 15:02:46 +00:00
|
|
|
|
|
|
|
class ProfileRank(int, Enum):
|
|
|
|
TIER_1 = 1
|
|
|
|
TIER_2 = 2
|
|
|
|
TIER_3 = 3
|