mirror of
https://github.com/PaiGramTeam/SIMNet.git
synced 2024-11-30 01:14:05 +00:00
37 lines
1.3 KiB
Python
37 lines
1.3 KiB
Python
from typing import Optional
|
|
|
|
from simnet.client.components.auth import AuthClient
|
|
from simnet.client.components.calculator.genshin import CalculatorClient
|
|
from simnet.client.components.chronicle.genshin import GenshinBattleChronicleClient
|
|
from simnet.client.components.daily import DailyRewardClient
|
|
from simnet.client.components.diary.genshin import GenshinDiaryClient
|
|
from simnet.client.components.lab import LabClient
|
|
from simnet.client.components.transaction import TransactionClient
|
|
from simnet.client.components.wish.genshin import GenshinWishClient
|
|
from simnet.utils.enum_ import Region
|
|
from simnet.utils.types import CookieTypes, HeaderTypes, TimeoutTypes
|
|
|
|
|
|
class GenshinClient(
|
|
CalculatorClient,
|
|
GenshinBattleChronicleClient,
|
|
GenshinWishClient,
|
|
GenshinDiaryClient,
|
|
AuthClient,
|
|
DailyRewardClient,
|
|
LabClient,
|
|
TransactionClient,
|
|
):
|
|
def __init__(
|
|
self,
|
|
cookies: Optional[CookieTypes] = None,
|
|
headers: Optional[HeaderTypes] = None,
|
|
account_id: Optional[int] = None,
|
|
player_id: Optional[int] = None,
|
|
region: Region = Region.OVERSEAS,
|
|
lang: str = "en-us",
|
|
timeout: Optional[TimeoutTypes] = None,
|
|
device_id: Optional[str] = None,
|
|
device_fp: Optional[str] = None,
|
|
): ...
|