123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- package fish_protocols;
- import "fish_def.proto";
- import "fish_type_def.proto";
- import "msg_type_def.proto";
- // 转盘竞猜
- // message packetc2l_tfish_guess
- // {
- // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_tfish_guess];
- // // 竞猜选项 0-章鱼 1-水母 2-放弃不猜
- // optional int32 option = 2;
- // // 转盘ID。 可能一次出现多个转盘
- // optional int32 turnId = 3;
- // }
- // // 转盘竞猜结果
- // message packetl2c_tfish_guess_result
- // {
- // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_tfish_guess_result];
- // // 客户端提交的选项
- // optional int32 cOption = 2;
- // // 服务器随机的选项, 比较两者相等,则猜中
- // optional int32 sOption = 3;
- // optional int32 result = 4;
- // // 剩余的时光令牌个数
- // optional int32 timeCardCount = 5;
- // optional int32 turnId = 6;
- // // 猜错时,返回使用时光令牌,需要消耗多少个
- // optional int32 costTimeCardCount = 7;
- // }
- // // 使用时光令牌
- // message packetc2l_tfish_use_timecard
- // {
- // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_tfish_use_timecard];
- // // 转盘ID
- // optional int32 turnId = 2;
- // }
- // // 使用时光令牌结果
- // message packetl2c_tfish_use_timecard_result
- // {
- // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_tfish_use_timecard_result];
- // // 转盘ID
- // optional int32 turnId = 2;
- // // 消耗了多少时光令牌
- // optional int32 costTimeCard = 3;
- // optional int32 result = 4;
- // }
- // // 获取获奖列表
- // message packetc2l_tfish_get_reward_list
- // {
- // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_tfish_get_reward_list];
- // // 初始为0
- // optional int32 lastId = 2;
- // }
- // message TFRewardInfo
- // {
- // optional string nickName = 1;
- // // 获得金币
- // optional int32 gainGold = 2;
- // // 连胜局数
- // optional int32 correct = 3;
- // }
- // // 获奖列表结果
- // message packetl2c_tfish_get_reward_list_result
- // {
- // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_tfish_get_reward_list_result];
- // optional int32 lastId = 2;
- // repeated TFRewardInfo rewardList = 3;
- // }
- // /////////////////////////// 转盘乐翻天活动 //////////////////////////////////////////
- // // 获取活动界面信息
- // message packetc2l_tfishact_get_info
- // {
- // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_tfishact_get_info];
- // }
- // message TFishRankInfo
- // {
- // optional int32 playerId = 1;
- // optional string nickName = 2;
- // // 活动期间活动的金币
- // optional int32 gainGold = 3;
- // }
- // // 获取活动界面信息结果
- // message packetl2c_tfishact_get_info_result
- // {
- // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_tfishact_get_info_result];
- // repeated TFishRankInfo rankList = 2;
- // // 自己的信息
- // optional TFishRankInfo self = 3;
- // // 剩余的时光令牌数量
- // optional int32 selfRemainTimeCard = 4;
- // }
|