2023-05-01 09:30:57 +00:00
|
|
|
import enum as _enum
|
|
|
|
|
2023-06-10 08:29:15 +00:00
|
|
|
__all__ = ("Region", "Game")
|
|
|
|
|
2023-05-01 09:30:57 +00:00
|
|
|
|
|
|
|
class Region(str, _enum.Enum):
|
|
|
|
"""
|
|
|
|
Represents a region where a game is being played.
|
|
|
|
|
|
|
|
Attributes:
|
|
|
|
OVERSEAS (Region): Represents an overseas region where a game is being played.
|
|
|
|
CHINESE (Region): Represents a Chinese region where a game is being played.
|
|
|
|
"""
|
|
|
|
|
|
|
|
OVERSEAS = "os"
|
|
|
|
CHINESE = "cn"
|
|
|
|
|
|
|
|
|
|
|
|
class Game(str, _enum.Enum):
|
|
|
|
"""
|
|
|
|
Represents a game that can be played in different regions.
|
|
|
|
|
|
|
|
Attributes:
|
|
|
|
GENSHIN (Game): Represents the game "Genshin Impact".
|
|
|
|
HONKAI (Game): Represents the game "Honkai Impact 3rd".
|
|
|
|
STARRAIL (Game): Represents the game "Honkai Impact 3rd RPG".
|
|
|
|
"""
|
|
|
|
|
|
|
|
GENSHIN = "genshin"
|
|
|
|
HONKAI = "honkai3rd"
|
|
|
|
STARRAIL = "hkrpg"
|