mirror of
https://github.com/PaiGramTeam/EnkaNetwork.py.git
synced 2024-11-16 03:45:28 +00:00
24 lines
498 B
Python
24 lines
498 B
Python
from pydantic import BaseModel
|
|
from typing import List
|
|
|
|
class ProfilePicture(BaseModel):
|
|
avatarId: int
|
|
|
|
class showAvatar(BaseModel):
|
|
avatarId: str
|
|
level: int
|
|
|
|
class PlayerInfo(BaseModel):
|
|
# Profile info
|
|
finishAchievementNum: int
|
|
level: int
|
|
nameCardId: int
|
|
nickname: str
|
|
signature: str
|
|
worldLevel: int
|
|
profilePicture: ProfilePicture
|
|
# Avatars
|
|
showAvatarInfoList: List[showAvatar]
|
|
# Abyss floor
|
|
towerFloorIndex: int
|
|
towerLevelIndex: int |