mirror of
https://github.com/PaiGramTeam/SIMNet.git
synced 2024-11-16 12:02:17 +00:00
14b107b5a1
Moves all subdirectories from 'simnet/client' to 'simnet/client/components' and adds the `__all__` variable to all affected files. This change is intended to improve code organization and make it easier to manage exported symbols from these modules.
20 lines
771 B
Python
20 lines
771 B
Python
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
|
|
from simnet.utils.enum_ import Region
|
|
from simnet.utils.types import CookieTypes, HeaderTypes, TimeoutTypes
|
|
|
|
class StarRailClient(StarRailBattleChronicleClient, StarRailWishClient, AuthClient):
|
|
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,
|
|
): ...
|