13 lines
358 B
Python
13 lines
358 B
Python
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
|
|
) |