Refactor battle & fix name for avatar_manager

This commit is contained in:
Naruse
2025-04-16 16:25:31 +08:00
parent ec8972d5d6
commit f0e41e3258
11 changed files with 127 additions and 82 deletions

View File

@@ -8,7 +8,7 @@ from rail_proto.lib import (
async def handle(session: PlayerSession, msg: GetAvatarDataCsReq) -> betterproto.Message:
avatars: list[Avatar] = []
for avatar_id,avatar in session.player.avatar_mananger.items():
for avatar_id,avatar in session.player.avatar_manager.items():
avatars.append(avatar.ToProto())
return GetAvatarDataScRsp(
retcode=0,