SIMNet/simnet/client/starrail.pyi

38 lines
1.4 KiB
Python
Raw Permalink Normal View History

2023-05-01 12:50:48 +00:00
from typing import Optional
from simnet.client.components.auth import AuthClient
2024-01-23 09:51:22 +00:00
from simnet.client.components.calculator.starrail import StarrailCalculatorClient
from simnet.client.components.chronicle.starrail import StarRailBattleChronicleClient
2023-05-08 02:00:01 +00:00
from simnet.client.components.daily import DailyRewardClient
2023-06-09 03:48:56 +00:00
from simnet.client.components.diary.starrail import StarrailDiaryClient
2024-06-17 16:09:38 +00:00
from simnet.client.components.self_help.starrail import StarrailSelfHelpClient
2023-05-08 02:00:01 +00:00
from simnet.client.components.lab import LabClient
2023-11-18 16:22:22 +00:00
from simnet.client.components.verify import VerifyClient
from simnet.client.components.wish.starrail import StarRailWishClient
2023-12-27 07:09:24 +00:00
from simnet.utils.enums import Region
from simnet.utils.types import CookieTypes, HeaderTypes, TimeoutTypes
2023-05-01 12:50:48 +00:00
2023-06-09 03:48:56 +00:00
class StarRailClient(
2024-01-23 09:51:22 +00:00
StarrailCalculatorClient,
2023-11-18 16:22:22 +00:00
StarRailBattleChronicleClient,
StarRailWishClient,
StarrailDiaryClient,
2024-06-17 16:09:38 +00:00
StarrailSelfHelpClient,
2023-11-18 16:22:22 +00:00
DailyRewardClient,
AuthClient,
LabClient,
VerifyClient,
2023-06-09 03:48:56 +00:00
):
2023-05-01 12:50:48 +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-01 12:50:48 +00:00
): ...