package fish_protocols; import "fish_def.proto"; import "fish_type_def.proto"; import "msg_type_def.proto"; ////////////////////////////金币盛宴活动///////////////////////////////////////// // 请求盛宴活动信息 //message packetc2l_req_gold_feast_info //{ // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_gold_feast_info]; //} //message GoldFeastRewardInfo //{ // optional int32 goldKey = 1; // 是否已领取奖励 // optional bool isRecv = 2; //} // 请求盛宴活动信息结果 //message packetl2c_req_gold_feast_info_result //{ // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_gold_feast_info_result]; // 今日累计打鱼得到金币 // optional int32 todayWinGold = 2; // repeated GoldFeastRewardInfo rewardList = 3; //} // 请求领取盛宴活动奖励 //message packetc2l_req_recv_gold_feast_reward //{ // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_recv_gold_feast_reward]; // optional int32 goldKey = 2; //} // 请求领取盛宴活动奖励结果 //message packetl2c_req_recv_gold_feast_reward_result //{ // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_recv_gold_feast_reward_result]; // optional int32 goldKey = 2; // optional int32 result = 3; //} ////////////////////////////竞技场活动///////////////////////////////////////// // 首次完成比赛后,领取活动奖励 // message packetc2l_baojin_recv_actreward // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_baojin_recv_actreward]; // } // // 首次完成比赛后,领取活动奖励结果 // message packetl2c_baojin_recv_actreward_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_baojin_recv_actreward_result]; // optional int32 result = 2; // } // // 竞技场活动信息 // message packetc2l_baojin_act_getinfo // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_baojin_act_getinfo]; // } // // 竞技场活动信息结果 // message packetl2c_baojin_act_getinfo_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_baojin_act_getinfo_result]; // // 是否领取了弹头 // optional bool isRecv = 2; // // 今日参与比赛次数 // optional int32 joinCount = 3; // } //////////////////////////// 圣诞元旦活动 ///////////////////////////////////////// // 获取圣诞活动信息 //message packetc2l_get_christmas_info //{ // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_christmas_info]; //} //message WordItemInfo //{ // // 文字id // optional int32 wordId = 1; // 文字数量 // optional int32 count = 2; //} // 获取圣诞活动信息结果 //message packetl2c_get_christmas_info_result //{ // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_christmas_info_result]; // 扭蛋券数量 // optional int32 itemCount = 2; // repeated WordItemInfo wordList = 3; // 1 圣诞活动 2 元旦活动 // optional int32 actType = 4; //} // 圣诞兑换 //message packetc2l_christmas_exchange //{ // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_christmas_exchange]; // 文字id, 0表示集齐兑换 // optional int32 wordId = 2; //} // 圣诞兑换结果 //message packetl2c_christmas_exchange_result //{ // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_christmas_exchange_result]; // optional int32 result = 2; //} // 抽取文字 //message packetc2l_christmas_lottery_word //{ // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_christmas_lottery_word]; //} // 抽取文字结果 //message packetl2c_christmas_lottery_word_result //{ // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_christmas_lottery_word_result]; // optional int32 result = 2; // optional int32 wordId = 3; //} //////////////////////////// 欢乐炸活动--鱼雷排行榜 ///////////////////////////////////////// // 鱼雷排行榜 message packetc2l_get_torpedo_rank { optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_torpedo_rank]; // 0青铜排行 1黄金排行 optional int32 rankType = 2; } message TorpedoRankInfo { optional int32 playerId = 1; optional string nickName = 2; optional int32 gold = 3; optional int32 headid = 4; optional int32 frameid = 5; optional int32 vipLevel = 6; optional int32 gender = 7; } message TorpedoRankChangeInfo { optional int32 playerId = 1; optional string nickName = 2; optional int32 torpedoId = 3; optional int64 changeGold = 4; optional int64 changePoint = 5; } // 鱼雷排行榜结果 message packetl2c_get_torpedo_rank_result { optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_torpedo_rank_result]; repeated TorpedoRankInfo rankList = 2; optional int32 rankType = 3; //今日欢乐炸最高||衰神炸最低 optional int64 selfRankGold = 4; //今日最高分 optional int32 selfMaxGold = 5; //入围奖状态 optional int32 guaranteedStat = 6; } // 鱼雷榜变化信息 message packetc2l_get_torpedo_rank_change_list { optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_torpedo_rank_change_list]; optional int32 rankType = 2; } message packetl2c_get_torpedo_rank_change_list_result { optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_torpedo_rank_change_list_result]; optional int32 rankType = 2; repeated TorpedoRankChangeInfo changeList = 3; } message packetc2l_receive_torpedo_guaranteed_award { optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_torpedo_guaranteed_award]; optional int32 rankType = 2; } message packetl2c_receive_torpedo_guaranteed_award_result { optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_torpedo_guaranteed_award_result]; optional int32 result = 2; optional int32 rankType = 3; } //////////////////////////// 金蟾夺宝活动///////////////////////////////////////// // 请求金蟾夺宝活动信息 //message packetc2l_req_spittor_snatch_info //{ // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_spittor_snatch_info]; //} //message SpittorRankInfo //{ // optional int32 playerId = 1; // optional string nickName = 2; // optional int32 killCount = 3; //} // 请求金蟾夺宝活动信息结果 //message packetl2c_req_spittor_snatch_info_result //{ // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_spittor_snatch_info_result]; // 击杀金蟾数量 // optional int32 killCount = 2; // 已领取奖励的档位id // repeated int32 hasRecvRewardIds = 3; // repeated SpittorRankInfo rankList = 4; //} // 领取金蟾夺宝活动档位奖励 //message packetc2l_req_recv_spittor_snatch_level_reward //{ // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_recv_spittor_snatch_level_reward]; // 档位id // optional int32 levelId = 2; //} // 领取金蟾夺宝活动档位奖励结果 //message packetl2c_req_recv_spittor_snatch_level_reward_result //{ // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_recv_spittor_snatch_level_reward_result]; // // optional int32 levelId = 2; // // optional int32 result = 3; //} //////////////////////////// 中秋国庆活动2018 ///////////////////////////////////////// // 中秋国庆活动排行榜 // message packetc2l_get_national_day2018_rank // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_national_day2018_rank]; // // true返回结果中含排行榜,否则只含当前月饼数量,及已获得月饼数量 // optional bool hasContainsRank = 2; // } // message N2018RankInfo // { // optional int32 playerId = 1; // optional string nickName = 2; // // 获得月饼 // optional int32 gainMoonCake = 3; // } // // 每日任务的完成条件 // message N2018ActFinishCond // { // optional int32 actId = 1; // // 完成数量 // optional int32 finishCount = 2; // } // // 每日任务 // message N2018Act // { // optional int32 actId = 1; // optional int32 isReceive = 2; // } // 中秋国庆活动排行榜结果 // message packetl2c_get_national_day2018_rank_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_national_day2018_rank_result]; // repeated N2018RankInfo rankList = 2; // // 获得月饼数量 // optional int32 selfGainMoonCake = 3; // // 当前月饼数量 // optional int32 selfCurMoonCake = 4; // // 今日达成 // optional int32 actCount = 5; // // 当前任务ID // optional int32 curActId = 6; // repeated N2018ActFinishCond actCondList = 7; // // 当前任务列表, 没有在列表中的任务,没有领取 // repeated N2018Act actList = 8; // } // // 中秋国庆活动抽奖 // message packetc2l_national_day2018_lottery // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_national_day2018_lottery]; // // 抽奖ID // optional int32 lotteryId = 2; // } // // 中秋国庆活动抽奖结果 // message packetl2c_national_day2018_lottery_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_national_day2018_lottery_result]; // optional int32 result = 2; // optional int32 itemId = 3; // optional int32 itemCount = 4; // } // // 领取任务奖励 // message packetc2l_national_day2018_recv_act_reward // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_national_day2018_recv_act_reward]; // optional int32 actId = 3; // } // // 领取任务奖励结果 // message packetl2c_national_day2018_recv_act_reward_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_national_day2018_recv_act_reward_result]; // optional int32 result = 2; // optional int32 itemId = 3; // optional int32 itemCount = 4; // // 0-任务无效, 今天的任务全部做完,没有后续任务 // optional int32 nextActId = 5; // // 任务完成的条件 // optional int32 finishCount = 6; // // 当前进度 // optional int32 actCount = 7; // } // // 获取下一个每日任务, 进场后获取 // message packetc2l_national_day2018_next_daily_act // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_national_day2018_next_daily_act]; // } // // 获取下一个每日任务结果 // message packetl2c_national_day2018_next_daily_act_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_national_day2018_next_daily_act_result]; // // 0-任务无效 // optional int32 nextActId = 2; // // 当前进度 // optional int32 progress = 3; // // 任务完成的条件 // optional int32 finishCount = 4; // } //////////////////////////// 屠龙榜 ///////////////////////////////////////// // 屠龙排行榜 //message packetc2l_get_kd_rank //{ // optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_kd_rank]; //} //message TDRankInfo //{ // optional int32 playerId = 1; // optional string nickName = 2; // 获得龙珠 // optional int32 gaindb = 3; // 性别 // optional int32 gender = 4; // 头像 // optional string head = 5; //} // 排行榜信息 //message packetl2c_get_kd_rank_result //{ // optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_kd_rank_result]; // 昨日排行 // repeated TDRankInfo yesterdayRank = 2; // 今日排行 // repeated TDRankInfo todayRank = 3; // 周榜 // repeated TDRankInfo weekRank = 4; // 自己周获得的龙珠 // optional int32 selfWeekGaindb = 5; // 自己今日获得的龙珠 // optional int32 selfTodayGaindb = 6; //} //////////////////////////// 暑期活动///////////////////////////////////////// message SummerDayLotteryInfo { optional int32 itemId = 1; optional int32 itemCount = 2; } // 暑期活动转盘 message packetc2l_start_Sd_Lottery { optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_start_Sd_Lottery]; optional int32 type = 2; optional int32 time = 3; } // 暑期活动转盘返回 message packetl2c_start_Sd_Lottery_result { optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_start_Sd_Lottery_result]; optional int32 result = 2; optional int32 type = 3; optional int32 time = 4; repeated int32 rewardId = 5; } message packetl2c_activity_item_change { optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_activity_item_change ]; optional int32 itemid = 2; optional int32 itemcount = 3; } //暑期活动兑换 message packetc2l_Sd_item_exchange { optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_summer_item_exchange ]; optional int32 exchangeId = 2; } //暑期活动兑换返回 message packetl2c_Sd_item_exchange_result { optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_summer_item_exchange_result ]; optional int32 result = 2; optional int32 exchangeId = 3; } //////////////////////////// 国庆活动///////////////////////////////////////// // 国庆活动转盘信息获取 message packetc2l_Nd_get_activity_info { optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_Nd_get_activity_info]; } // 国庆活动转盘信息获取返回 message packetl2c_Nd_get_activity_info_result { optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_Nd_get_activity_info_result]; optional int32 lotteryCount = 2; repeated int32 exchangeCountList = 3; optional int32 outlay = 4; optional int32 recharge = 5; } // 国庆活动转盘 message packetc2l_Nd_start_Lottery { optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_Nd_start_Lottery]; optional int32 time = 2; } // 国庆活动转盘返回 message packetl2c_Nd_start_Lottery_result { optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_Nd_start_Lottery_result]; optional int32 result = 2; optional int32 time = 3; repeated int32 rewardId = 4; } //国庆活动兑换 message packetc2l_Nd_item_exchange { optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_Nd_item_exchange ]; // 1普通 2一键 optional int32 type = 2; optional int32 exchangeId = 3; } //国庆活动兑换返回 message packetl2c_Nd_item_exchange_result { optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_Nd_item_exchange_result ]; optional int32 result = 2; repeated int32 exchangeIds = 3; } //////////////////////////// 大奖赛活动///////////////////////////////////////// // 大奖赛信息获取返回 message packetl2c_get_grand_prix_info_result { optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_grand_prix_info_result]; optional int32 activityState = 2; // 活动状态 optional int32 result = 3; optional int32 startTime = 4; optional int32 endTime = 5; }