SIMNet/simnet/client/genshin.pyi

36 lines
1.3 KiB
Python
Raw Normal View History

2023-05-05 04:06:43 +00:00
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
2023-06-09 03:48:56 +00:00
from simnet.client.components.diary.genshin import GenshinDiaryClient
2023-05-08 02:00:01 +00:00
from simnet.client.components.lab import LabClient
2023-06-09 11:50:48 +00:00
from simnet.client.components.transaction import TransactionClient
from simnet.client.components.wish.genshin import GenshinWishClient
2023-05-05 04:06:43 +00:00
from simnet.utils.enum_ import Region
from simnet.utils.types import CookieTypes, HeaderTypes, TimeoutTypes
2023-06-09 03:48:56 +00:00
class GenshinClient(
CalculatorClient,
2023-06-09 11:50:48 +00:00
GenshinBattleChronicleClient,
GenshinWishClient,
GenshinDiaryClient,
AuthClient,
DailyRewardClient,
LabClient,
TransactionClient,
2023-06-09 03:48:56 +00:00
):
2023-05-05 04:06:43 +00:00
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,
2023-07-18 05:19:53 +00:00
device_id: Optional[str] = None,
device_fp: Optional[str] = None,
2023-05-05 04:06:43 +00:00
): ...