init
This commit is contained in:
13
game_server/handlers/GetNpcTakenRewardCsReq.py
Normal file
13
game_server/handlers/GetNpcTakenRewardCsReq.py
Normal file
@@ -0,0 +1,13 @@
|
||||
import betterproto
|
||||
from game_server.net.session import PlayerSession
|
||||
from rail_proto.lib import (
|
||||
GetNpcTakenRewardCsReq,
|
||||
GetNpcTakenRewardScRsp,
|
||||
PlayerSettingInfo
|
||||
)
|
||||
|
||||
async def handle(session: PlayerSession, msg: GetNpcTakenRewardCsReq) -> betterproto.Message:
|
||||
return GetNpcTakenRewardScRsp(
|
||||
retcode=0,
|
||||
npc_id=msg.npc_id
|
||||
)
|
||||
Reference in New Issue
Block a user