mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-14 05:44:34 +01:00
Initial commit
This commit is contained in:
17
game_server/packet/handlers/ChapterBwWorldGetDataReq.py
Normal file
17
game_server/packet/handlers/ChapterBwWorldGetDataReq.py
Normal file
@@ -0,0 +1,17 @@
|
||||
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
|
||||
)
|
||||
)
|
||||
Reference in New Issue
Block a user