Support SRTools web
This commit is contained in:
13
game_server/handlers/GetBigDataRecommendCsReq.py
Normal file
13
game_server/handlers/GetBigDataRecommendCsReq.py
Normal file
@@ -0,0 +1,13 @@
|
||||
import betterproto
|
||||
from game_server.net.session import PlayerSession
|
||||
from rail_proto.lib import (
|
||||
GetBigDataRecommendCsReq,
|
||||
GetBigDataRecommendScRsp
|
||||
)
|
||||
|
||||
async def handle(session: PlayerSession, msg: GetBigDataRecommendCsReq) -> betterproto.Message:
|
||||
return GetBigDataRecommendScRsp(
|
||||
big_data_recommend_type=msg.big_data_recommend_type,
|
||||
has_recommand=True,
|
||||
equip_avatar=msg.equip_avatar
|
||||
)
|
||||
Reference in New Issue
Block a user