import "client2world_msg_type.proto"; import "msg_type_def.proto"; import "msg_info_def.proto"; package client2world_protocols; // 领取活动奖励 //message packetc2w_receive_activity_reward //{ // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_activity_reward]; // // 活动ID // optional int32 activityId = 2; //} // 领取活动奖励结果 //message packetw2c_receive_activity_reward_result //{ // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_activity_reward_result]; // optional int32 result = 2; // // 活动id // optional int32 activityId = 3; //} // 请求活动状态 message packetc2w_req_activity_state { optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_activity_state]; } // 请求活动状态结果 message packetw2c_req_activity_state_result { optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_activity_state_result]; // 活动奖励的领取信息 repeated msg_info_def.ActivityReceiveInfo receiveInfo = 2; // 累计充值活动期间已充值金额 optional int32 activityCurRecharge = 3; } //新的引导礼包通知 // message packetw2c_new_guide_gift { // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_new_guide_gift]; // optional msg_info_def.GuideGiftInfo gift_info = 2; // } // // 请求刷新 // message packetc2w_update_guide_gift // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_update_guide_gift]; // // 等级 // optional int32 fish_level = 2; // } // // 激活礼包倒计时 // message packetc2w_active_guide_gift // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_active_guide_gift]; // // 激活礼包计时 // optional int32 gift_id = 2; // } // // 激活礼包计时结果 // message packetw2c_active_guide_gift_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_active_guide_gift_result]; // optional int32 giftId = 2; // // 最新的结束时间 // optional int32 newEndTime = 3; // optional int32 result = 4; // } // // 获取礼包刷新时间 // message packetc2w_get_guide_gift_refreshtime // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_guide_gift_refreshtime]; // // 礼包ID列表 // repeated int32 giftIds = 2; // } // message GuideGiftRTime // { // optional int32 giftId = 1; // optional int32 refreshTime = 2; // } // // 获取礼包刷新时间结果 // message packetw2c_get_guide_gift_refreshtime_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_guide_gift_refreshtime_result]; // repeated GuideGiftRTime rtList = 2; // } // 领取礼包 // message packetc2w_get_guide_gift // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_guide_gift]; // // 礼包ID // optional int32 gift_id = 2; // } // // 领取礼包结果 // message packetw2c_get_guide_gift_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_guide_gift_result]; // optional msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail]; // } // 请求VIP福利 // message packetc2w_ask_vip_gold // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_ask_vip_gold]; // } // // VIP福利结果 // message packetw2c_vip_gold_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_vip_gold_result]; // optional msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail]; // optional int32 give_gold = 3; // } // 购买材料礼包 // message packetc2w_buy_material_gift // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_buy_material_gift]; // optional int32 materialGiftId = 2; // } // // 购买材料礼包结果 // message packetw2c_buy_material_gift_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_buy_material_gift_result]; // optional int32 result = 2; // optional int32 materialGiftId = 3; // } // 领取cdkey奖励 message packetc2w_receive_cdkey { optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_cdkey]; optional string cdkey = 2; } // 领取cdkey奖励结果 message packetw2c_receive_cdkey_result { optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_cdkey_result]; optional int32 result = 2; optional int32 giftId = 3; } // 同步玩家任务状态 message packetw2c_sync_activity_result { optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_sync_activity_result]; optional int32 active = 2; // 活跃度 repeated int32 hasGetActiveBox = 3; //今日已领取的活跃度宝箱 } ////////////////////////////抢购活动///////////////////////////////////////// // 请求抢购 // message packetc2w_req_panic_buy // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_panic_buy]; // // 活动ID // optional int32 actId = 2; // } // // 请求抢购结果 // message packetw2c_req_panic_buy_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_panic_buy_result]; // optional int32 actId = 2; // optional int32 result = 3; // // 支付截止时间( > 0表示是 支付抢购活动, ==0 是抢免费金币) // optional int32 payDeadTime = 4; // // 免费获得的金币 // optional int32 freeGold = 5; // } // // 请求抢购信息 // message packetc2w_req_panic_info // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_panic_info]; // } // message PanicInfo // { // // 活动ID // optional int32 actId = 1; // // 剩余数量 // optional int32 remainCount = 2; // // 自身状态 0已购买 1未购买 2已占位(对支付活动) // optional int32 selfState = 3; // // 支付截止时间 // optional int32 payDeadTime = 4; // // 免费获得的金币 // optional int32 freeGold = 5; // } // // 请求抢购信息结果 // message packetw2c_req_panic_info_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_panic_info_result]; // repeated PanicInfo infoList = 2; // // 活动结束时间 0表示活动还没有开始 // optional int32 endTime = 3; // } ////////////////////////////拉霸抽奖///////////////////////////////////////// // 请求拉霸抽奖 // message packetc2w_req_laba_rlottery // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_laba_rlottery]; // } // // 请求拉霸抽奖结果 // message packetw2c_req_laba_rlottery_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_laba_rlottery_result]; // optional int32 result = 2; // // 结果id // optional int32 lotteryId = 3; // } // // 请求拉霸信息 // message packetc2w_req_laba_info // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_laba_info]; // } // // 请求拉霸信息结果 // message packetw2c_req_laba_info_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_laba_info_result]; // // 充值的人民币 // optional int32 rmb = 2; // // 活动期间的累计充值,只增不减 // optional int32 accRmb = 3; // } // // 请求抽奖通知消息 // message packetc2w_req_laba_notify_msg // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_laba_notify_msg]; // optional int32 time = 2; // } // message LabaNotifyMsg // { // optional string nickName = 1; // optional int32 itemId = 2; // optional int32 itemCount = 3; // optional int32 LotteryId = 4; // } // // 请求抽奖通知消息结果 // message packetw2c_req_laba_notify_msg_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_laba_notify_msg_result]; // repeated LabaNotifyMsg msgList = 2; // // 新的时间点,客户端需要保存 // optional int32 newTime = 3; // } ////////////////////////////集玩偶活动///////////////////////////////////////// // 请求集玩偶界面信息 // message packetc2w_req_collect_puppet_info // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_collect_puppet_info]; // } // message PuppetRankInfo // { // // 捐赠数量 // optional int32 donateCount = 1; // // 昵称 // optional string nickName = 2; // optional int32 playerId = 3; // } // message DonateRecvInfo // { // // 奖励id // optional int32 rewardId = 1; // // 是否领取 // optional bool isReceive = 2; // } // // 请求集玩偶界面信息结果 // message packetw2c_req_collect_puppet_info_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_collect_puppet_info_result]; // // 自己捐赠的玩偶数量 // optional int32 selfDonateCount = 2; // // 全服捐赠玩偶数量 // optional int32 fullSvrDonateCount = 3; // // 排行榜,列表索引就是排名序号 // repeated PuppetRankInfo rankList = 4; // // 当前拥有的玩偶 // optional int32 ownPuppetCount = 5; // // 各奖励领取信息 // repeated DonateRecvInfo recvList = 6; // } // // 领取捐赠玩偶奖励 // message packetc2w_recv_donate_reward // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_donate_reward]; // // 奖励id // optional int32 rewardId = 2; // } // // 领取捐赠玩偶奖励结果 // message packetw2c_recv_donate_reward_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_donate_reward_result]; // // 奖励id // optional int32 rewardId = 2; // // 结果 // optional int32 result = 3; // } // // 捐赠玩偶 // message packetc2w_donate_puppet // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_donate_puppet]; // // 捐赠数量 // optional int32 count = 2; // } // // 捐赠玩偶结果 // message packetw2c_donate_puppet_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_donate_puppet_result]; // // 捐赠数量 // optional int32 count = 2; // // 结果 // optional int32 result = 3; // } // // 请求集玩偶活动进度 // message packetc2w_req_puppet_act_progress // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_puppet_act_progress]; // } // message PuppetActInfo // { // // 任务id // optional int32 actId = 1; // // 当前进度 // optional int32 curProgress = 2; // } // // 请求集玩偶活动进度结果 // message packetw2c_req_puppet_act_progress_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_puppet_act_progress_result]; // repeated PuppetActInfo actList = 2; // } // // 用钻石购买玩偶 // message packetc2w_buy_puppet // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_buy_puppet]; // // 购买数量 // optional int32 count = 2; // } // // 用钻石购买玩偶结果 // message packetw2c_buy_puppet_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_buy_puppet_result]; // // 结果 // optional int32 result = 2; // // 购买数量 // optional int32 count = 3; // } // // 捐赠排行榜 // message packetc2w_req_donate_rank // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_donate_rank]; // } // // 捐赠排行榜结果 // message packetw2c_req_donate_rank_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_donate_rank_result]; // // 排行榜,列表索引就是排名序号 // repeated PuppetRankInfo rankList = 2; // } ////////////////////////////万炮活动///////////////////////////////////////// // 请求万炮信息 // message packetc2w_req_wp_info // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_wp_info]; // } // message WpRewardInfo // { // optional int32 fishLevel = 1; // // 是否已领取奖励 // optional bool isRecv = 2; // } // // 请求万炮信息结果 // message packetw2c_req_wp_info_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_wp_info_result]; // // 自己的捕鱼等级 // optional int32 fishLevel = 2; // repeated WpRewardInfo rewardList = 3; // // 是否领取了排行榜奖励 // optional bool isRecvRankReward = 4; // // 当前排名 -1表示没有排名 // optional int32 curRank = 5; // } // // 请求领取万炮奖励 // message packetc2w_req_recv_wpreward // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_recv_wpreward]; // // -1 表示领取排行榜奖励 // optional int32 fishLevel = 2; // } // // 请求领取万炮奖励结果 // message packetw2c_req_recv_wpreward_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_recv_wpreward_result]; // optional int32 fishLevel = 2; // optional int32 result = 3; // } // // 请求万炮排行榜 // message packetc2w_req_wprank // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_wprank]; // } // message WpRankInfo // { // optional string nickName = 1; // optional int32 reachWpTime = 2; // } // // 请求万炮排行榜结果 // message packetw2c_req_wprank_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_wprank_result]; // repeated WpRankInfo rankList = 2; // } ////////////////////////////国庆活动///////////////////////////////////////// // 领取登录奖励 // message packetc2w_req_recv_loginreward // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_recv_loginreward]; // } // // 领取登录奖励结果 // message packetw2c_req_recv_loginreward_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_recv_loginreward_result]; // optional int32 rewardId = 2; // optional int32 result = 3; // } // // 请求国庆鱼排行 // message packetc2w_req_guoqing_fish_rank // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_guoqing_fish_rank]; // } // message NdRankInfo // { // optional string nickName = 1; // optional int32 fishCount = 2; // } // // 请求国庆鱼排行结果 // message packetw2c_req_guoqing_fish_rank_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_guoqing_fish_rank_result]; // repeated NdRankInfo rankList = 2; // // 自己的排名 -1表示未上榜 // optional int32 selfRank = 3; // // 今日是否领取了奖励 // optional bool isRecvLoginReward = 4; // // 自己的击杀数量 // optional int32 selfFishCount = 5; // } ////////////////////////////今秋特惠活动///////////////////////////////////////// // 请求今秋特惠信息 // message packetc2w_req_jinqiu_info // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_jinqiu_info]; // } // message JinQiuInfo // { // optional int32 giftId = 1; // // 今日已抽奖次数 // optional int32 hasLotteryCount = 2; // } // // 请求今秋特惠信息结果 // message packetw2c_req_jinqiu_info_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_jinqiu_info_result]; // repeated JinQiuInfo infoList = 2; // } // // 请求今秋特惠抽奖 // message packetc2w_req_jinqiu_lottery // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_jinqiu_lottery]; // // 充值id // optional int32 rechargeId = 2; // } // // 请求今秋特惠抽奖结果 // message packetw2c_req_jinqiu_lottery_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_jinqiu_lottery_result]; // optional int32 gold = 2; // optional int32 result = 3; // } ////////////////////////////万圣节活动///////////////////////////////////////// // 请求万圣节活动信息 // message packetc2w_req_hallowmas_info // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_hallowmas_info]; // } // // 请求万圣节活动信息结果 // message packetw2c_req_hallowmas_info_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_hallowmas_info_result]; // // 当前拥有南瓜数量 // optional int32 curPumpkinCount = 2; // // 今日已购买南瓜数量 // optional int32 hasBuyPumpkinCount = 3; // // 已领取单人奖励的档位id // repeated int32 hasRecvSingleRewardIds = 4; // // 自己的排名 -1表示未上榜 // optional int32 selfRank = 5; // // 排行榜前50名 // repeated NdRankInfo rankList = 6; // } // // 领取万圣节档位奖励 // message packetc2w_req_recv_hallowmas_level_reward // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_recv_hallowmas_level_reward]; // // 档位id // optional int32 levelId = 2; // } // // 领取万圣节档位奖励结果 // message packetw2c_req_recv_hallowmas_level_reward_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_recv_hallowmas_level_reward_result]; // optional int32 levelId = 2; // optional int32 result = 3; // } // // 购买南瓜 // message packetc2w_req_buy_pumpkin // { // optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_buy_pumpkin]; // // 购买个数 // optional int32 count = 2; // } // // 购买南瓜结果 // message packetw2c_req_buy_pumpkin_result // { // optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_buy_pumpkin_result]; // optional int32 count = 2; // optional int32 result = 3; // } // 获取成长基金信息 message packetc2w_get_grow_fund_info { optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_grow_fund_info]; } // 获取成长基金信息 message packetw2c_get_grow_fund_info_result { optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_grow_fund_info_result]; repeated bool isReceived = 2; optional int32 rechared = 3; } // 领取成长基金奖励 message packetc2w_receive_grow_fund_reward { optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_grow_fund_reward]; optional int32 rewardid = 2; } // 领取成长基金奖励结果 message packetw2c_receive_grow_fund_reward_result { optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_grow_fund_reward_result]; optional int32 result = 2; optional int32 rewardid = 3; } // 客户端成长基金打点统计 message packetc2w_grow_fund_record { optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_grow_fund_record]; }