SIMNet/simnet/client/starrail.pyi

20 lines
771 B
Python
Raw Normal View History

2023-05-01 12:50:48 +00:00
from typing import Optional
from simnet.client.components.auth import AuthClient
from simnet.client.components.chronicle.starrail import StarRailBattleChronicleClient
from simnet.client.components.wish.starrail import StarRailWishClient
2023-05-01 12:50:48 +00:00
from simnet.utils.enum_ import Region
from simnet.utils.types import CookieTypes, HeaderTypes, TimeoutTypes
2023-05-01 12:50:48 +00:00
class StarRailClient(StarRailBattleChronicleClient, StarRailWishClient, AuthClient):
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-05-01 12:50:48 +00:00
): ...