EnkaNetwork.py/enkanetwork/enum.py
Dee Dev 3ec03d9b06 Upgrade EnkaNetwork.py
- add http client
- update example

- add aenter, aexit for auto close client
2022-08-04 20:56:23 +07:00

62 lines
936 B
Python

from enum import Enum
__all__ = (
'Language',
'EquipmentsType',
'DigitType',
'ElementType',
'EquipType'
)
class Language(str, Enum):
EN = "en"
RU = "ru"
VI = "vi"
TH = "th"
PT = "pt"
KR = "kr"
JP = "jp"
ID = "id"
FR = "fr"
ES = "es"
DE = "de"
"""
zh-CN: CHT
zh-TW: CHS
"""
TW = "cht"
CN = "chs"
CHT = "cht"
CHS = "chs"
class EquipmentsType(int, Enum):
UNKNOWN = -1
ARTIFACT = 0
WEAPON = 1
class DigitType(int, Enum):
NUMBER = 0
PERCENT = 1
class ElementType(str, Enum):
Unknown = "Unknown"
Cryo = "Ice"
Hydro = "Water"
Anemo = "Wind"
Pyro = "Fire"
Geo = "Rock"
Electro = "Electric"
class EquipType(str, Enum):
Unknown = "UNKNOWN"
Flower = "EQUIP_BRACER"
Feather = "EQUIP_NECKLACE"
Sands = "EQUIP_SHOES"
Goblet = "EQUIP_RING"
Circlet = "EQUIP_DRESS"