123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- package fish_protocols;
- import "fish_def.proto";
- import "fish_type_def.proto";
- import "msg_type_def.proto";
- // 进入南海夺宝界面 判断送弹头
- message packetc2l_enter_southsea_treasurehunt
- {
- optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_enter_southsea_treasurehunt];
- }
- message packetl2c_enter_southsea_treasurehunt_result
- {
- optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_enter_southsea_treasurehunt_result];
- // 送铜弹头数量
- optional int32 sendCopperCount = 2;
- optional int32 result = 3;
- }
- // 得到夺宝场次信息
- message packetc2l_southsea_treasurehunt_get_info
- {
- optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_get_info];
- }
- message STRoomstate
- {
- optional int32 roomId = 1;
- // 0-在场次外 1-开始了弹头夺宝 2-开始了钻石夺宝
- optional int32 state = 2;
- }
- message packetl2c_southsea_treasurehunt_get_info_result
- {
- optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_get_info_result];
- repeated STRoomstate roomList = 2;
- }
- // 进入场次
- message packetc2l_southsea_treasurehunt_enter
- {
- optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_enter];
- // 场次
- optional int32 roomId = 2;
- // 1-弹头夺宝 2-钻石夺宝
- optional int32 enterWay = 3;
- }
- // 进入场次结果
- message packetl2c_southsea_treasurehunt_enter_result
- {
- optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_enter_result];
- optional int32 result = 2;
- // 场次
- optional int32 roomId = 3;
- // 1-弹头夺宝 2-钻石夺宝
- optional int32 enterWay = 4;
- }
- // 南海寻宝抽奖
- message packetc2l_southsea_treasurehunt_lottery
- {
- optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_lottery];
- // 场次
- optional int32 roomId = 2;
- // 1-弹头夺宝 2-钻石夺宝
- optional int32 enterWay = 3;
- }
- // 南海寻宝抽奖结果
- message packetl2c_southsea_treasurehunt_lottery_result
- {
- optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_lottery_result];
- optional int32 result = 2;
- optional int32 roomId = 3;
- optional int32 enterWay = 4;
- optional int32 rewardId = 5;
- // 奖励列表
- repeated msg_item rewardList = 6;
- }
- // 获取南海寻定获奖信息
- message packetc2l_get_southsea_treasurehunt_notice
- {
- optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_southsea_treasurehunt_notice];
- // 初始为0, 每个roomId都会对应一个lastId
- optional int32 lastId = 2;
- optional int32 roomId = 3;
- }
- message MTreasureHuntNoticeInfo
- {
- optional string nickName = 1;
- optional int32 itemId = 2;
- optional int32 count = 3;
- }
- message packetl2c_get_southsea_treasurehunt_notice_result
- {
- optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_southsea_treasurehunt_notice_result];
- optional int32 lastId = 2;
- repeated MTreasureHuntNoticeInfo noticeList = 3;
- optional int32 roomId = 4;
- }
|