diff --git a/mihomo/api.py b/mihomo/api.py index 496c505..a4ced55 100644 --- a/mihomo/api.py +++ b/mihomo/api.py @@ -264,9 +264,12 @@ async def parse_api_data( player_info.space_info = SpaceInfo( memory_data=memory_info, universe_level=space_info.maxRogueChallengeScore, - light_cone_count=space_info.equipmentCount, avatar_count=space_info.avatarCount, + light_cone_count=space_info.equipmentCount, + relic_count=space_info.relicCount, achievement_count=space_info.achievementCount, + book_count=space_info.bookCount, + music_count=space_info.musicCount, ) pos_dict: Dict[str, List[int]] = {} characters: List[CharacterInfo] = [] diff --git a/mihomo/model.py b/mihomo/model.py index bd198ee..7b98211 100644 --- a/mihomo/model.py +++ b/mihomo/model.py @@ -105,9 +105,12 @@ class MemoryInfo(Struct): class SpaceInfo(Struct): memory_data: Optional[MemoryInfo] = None universe_level: int = 0 - light_cone_count: int = 0 avatar_count: int = 0 + light_cone_count: int = 0 + relic_count: int = 0 achievement_count: int = 0 + book_count: int = 0 + music_count: int = 0 class PlayerInfo(Struct):