Files
KianaBH3/game_server/packet/handlers/ChapterBwWorldGetDataReq.py
2024-11-07 23:25:15 +08:00

18 lines
464 B
Python

import betterproto
from game_server.net.session import Session
from lib.proto import (
ChapterBwWorldGetDataReq,
ChapterBwWorldGetDataRsp,
ChapterBwWorld,
ChapterBwWorldRune,
ChapterBwWorldTowerStage
)
async def handle(session: Session, msg: ChapterBwWorldGetDataReq) -> betterproto.Message:
return ChapterBwWorldGetDataRsp(
retcode=0,
chapter_bw_world=ChapterBwWorld(
chapter_id=msg.chapter_id
)
)