import "client2world_msg_type.proto";
import "msg_type_def.proto";
import "msg_info_def.proto";

package client2world_protocols;

////////////////////////////刮刮乐活动/////////////////////////////////////////
// message packetc2w_req_scratch_ticket_info
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_scratch_ticket_info]; 
// }

// // 场次的抽奖信息
// message ChangCiLotteryInfo
// {
// 	//	场次id
// 	optional int32 changCiId = 1; 

// 	// 己进行的免费抽奖次数
// 	optional int32 freeLotteryCount = 2; 

// 	// 己进行的非免费抽奖次数
// 	optional int32 notFreeLotteryCount = 3;
// }

// message CurLotteryInfo
// {
// 	optional int32 clientIndex = 1; 

// 	optional int32 itemId = 2;

// 	optional int32 count = 3;
// }

// // 刮刮乐活动信息结果
// message packetw2c_req_scratch_ticket_info_result
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_scratch_ticket_info_result]; 

// 	// 依次存 普通场，黄金场，钻石场的抽奖信息
// 	repeated ChangCiLotteryInfo infoList = 2;

// 	// 当前正在进行的场次抽奖 0表示当前没有进行抽奖
// 	optional int32 curProgressingChangCi = 3;

// 	repeated CurLotteryInfo curLotteryList = 4;
// }

// // 请求抽奖
// message packetc2w_req_scratch_ticket_lottery
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_scratch_ticket_lottery]; 

// 	// 场次id   1-普通场 2-黄金场 3-钻石场
// 	optional int32 changCiId = 2;
// }

// message ScratchLotteryResult
// {
// 	// 对应M_ActivityScratchTicketCFG ID字段
// 	optional int32 id = 1;

// 	// 奖励道具id， 与M_ItemCFG  ID对应
// 	optional int32 itemId = 2;

// 	// 抽到的奖励数量
// 	optional int32 count = 3;
// }

// message packetw2c_req_scratch_ticket_lottery_result
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_scratch_ticket_lottery_result]; 

// 	optional int32 result = 2;

// 	// 场次id  
// 	optional int32 changCiId = 3;

// 	// 消耗货币类型    -1表示免费抽奖，1-金币 2-钻石 
// 	optional int32 costMoneyType = 4;

// 	// 消耗货币数量
// 	optional int32 costMoneyCount = 5;

// 	// 抽奖结果列表
// 	//repeated ScratchLotteryResult rewardList = 6;
// }

// // 刮一次
// message packetc2w_req_scratch_one_grid
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_scratch_one_grid]; 

// 	// 格子索引， 1-12
// 	optional int32 clientIndex = 2;
// }

// // 刮一次结果
// message packetw2c_req_scratch_one_grid_result
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_scratch_one_grid_result]; 

// 	optional int32 clientIndex = 2;

// 	// 抽到的奖励
// 	optional ScratchLotteryResult reward = 3;

// 	optional int32 result = 4;
// }

// // 请求刮刮乐抽奖通知消息，客户端每 3-5秒 请求一次最新的公告消息
// message packetc2w_req_scratch_notify_msg
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_scratch_notify_msg]; 

// 	// 场次id
// 	optional int32 changCiId = 2;

// 	// 上次保存的最新时间点，初始传0
// 	optional int32 time = 3;
// }
 
// message ScratchNotifyMsg
// {
// 	optional string nickName = 1;
	     
// 	optional int32 itemId = 2;

// 	optional int32 itemCount = 3;
// }

// // 请求刮刮乐抽奖通知消息结果
// message packetw2c_req_scratch_notify_msg_result
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_scratch_notify_msg_result]; 

// 	repeated ScratchNotifyMsg msgList = 2;

// 	// 新的时间点，客户端需要保存
// 	optional int32 newTime = 3;

// 	// 场次id
// 	optional int32 changCiId = 4;
// }

// ////////////////////////////新春冒险活动/////////////////////////////////////////
// message packetc2w_req_adventure_info
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_adventure_info]; 
// }

// message packetw2c_req_adventure_info_result
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_adventure_info_result]; 

// 	// 当前进行的是第几关 0表示还没有开始冒险
// 	optional int32 curLevel = 2;

// 	// 玩家所处状态 0正常  1中弹
// 	optional int32 state = 3;

// 	// 已免费游戏次数
// 	optional int32 freeGameCount = 4;

// 	// 已使用免费金牌个数
// 	optional int32 usenNotDieCount = 5;
// }

// // 开始冒险
// message packetc2w_start_adventure
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_start_adventure]; 
// }

// message packetw2c_start_adventure_result
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_start_adventure_result]; 

// 	// 操作结果
// 	optional int32 result = 2;

// 	// 消耗货币 -1表示免费
// 	optional int32 costMoneyType = 3;

// 	// 消耗数量
// 	optional int32 costMoneyCount = 4;
// }

// // 抽一次奖
// message packetc2w_adventure_lottery
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_adventure_lottery]; 
// }

// message packetw2c_adventure_lottery_result
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_adventure_lottery_result]; 

// 	// 操作结果
// 	optional int32 result = 2;

// 	// 结果奖励id
// 	optional int32 rewardId = 3;

// 	// 可否使用免死金牌
// 	optional int32 canUseNotDieCard = 4;
	
// 	// 下一关id
// 	optional int32 nextLevel = 5;
// }

// // 使用免死金牌
// message packetc2w_use_notdie_card
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_use_notdie_card]; 

// 	// 1 使用  2 放弃使用，回到初始状态
// 	optional int32 opSelect = 2;
// }

// message packetw2c_use_notdie_card_result
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_use_notdie_card_result]; 

// 	// 操作结果
// 	optional int32 result = 2;

// 	// 1 使用  2 放弃使用，回到初始
// 	optional int32 opSelect = 3;
	
// 	// 下一关id 0表示初始状态
// 	optional int32 nextLevel = 5;
// }

////////////////////////////新春礼包/////////////////////////////////////////
// 新春礼包信息
// message packetc2w_req_ny_gift_info
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_ny_gift_info]; 
// }

// message NYGiftInfo
// {
// 	optional int32 payId = 1;

// 	// 已购买次数
// 	optional int32 buyCount = 2;
// }

// message packetw2c_req_ny_gift_info_result
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_ny_gift_info_result]; 

// 	repeated NYGiftInfo infoList = 2;
// }

// ////////////////////////////新春累计充值/////////////////////////////////////////
// message packetc2w_req_ny_accrecharge_info
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_ny_accrecharge_info]; 
// }

// message packetw2c_req_ny_accrecharge_info_result
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_ny_accrecharge_info_result]; 

// 	// 已经领取的奖励id列表
// 	repeated int32 hasRecvIds = 2;

// 	// 累计充值金额
// 	optional int32 accRecharge = 3;
// }

// // 领取奖励
// message packetc2w_recv_ny_accrecharge_reward
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_ny_accrecharge_reward]; 

// 	optional int32 rewardId = 2;
// }

// message packetw2c_recv_ny_accrecharge_reward_result
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_ny_accrecharge_reward_result]; 

// 	optional int32 result = 2;

// 	optional int32 rewardId = 3;
// }

// ////////////////////////////五一充值满一定金额，获得抽奖机会/////////////////////////////////////////
// message packetc2w_req_wuyi_recharge_info
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_wuyi_recharge_info]; 
// }

// message packetw2c_req_wuyi_recharge_info_result
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_wuyi_recharge_info_result]; 

// 	// 当前充值金额
// 	optional int32 curRecharge = 2;
// }

// // 请求五一活动抽奖
// message packetc2w_req_wuyi_lottery
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_wuyi_lottery]; 

// 	// 1-抽一次  10--10连抽
// 	optional int32 lotteryCount = 2;
// }

// // 请求五一活动抽奖结果
// message packetw2c_req_wuyi_lottery_result
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_wuyi_lottery_result]; 

// 	optional int32 result = 2;

// 	repeated int32 rewardId = 3;
// }

////////////////////////////世界杯竞猜/////////////////////////////////////////
// 请求投注
// message packetc2w_worldcup_req_bet
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_worldcup_req_bet ]; 

// 	// 比赛ID
// 	optional int32 matchId = 2;

// 	// 投注区域  0-主场胜  1-客场胜  2-平局
// 	optional int32 betArea = 3;

// 	// 投注金额
// 	optional int32 betGold = 4;
// }

// // 请求投注结果
// message packetw2c_worldcup_req_bet_result
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_worldcup_req_bet_result]; 

// 	// 结果
// 	optional int32 result = 2;

// 	// 比赛ID
// 	optional int32 matchId = 3;

// 	// 投注区域  0-主场胜  1-客场胜 2-平局
// 	optional int32 betArea = 4;

// 	// 投注金额
// 	optional int32 betGold = 5;
// }

// // 投注信息界面
// message packetc2w_worldcup_req_bet_info
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_worldcup_req_bet_info ]; 
// }
 
// message BetInfo
// {
// 	// 竞猜截止时间
// 	optional int32 guessEndTime = 1;

// 	// 主场队伍ID
// 	optional int32 homeTeamId = 2;

// 	// 客场队伍ID
// 	optional int32 visitTeamId = 3;
	
// 	// 组别，如世界杯A组, 客户端读 M_WorldCupGroup
// 	optional int32 matchName = 4;

// 	// 比赛类型  0-小组赛  1-决赛 
// 	optional int32 matchType = 5;

// 	// 比赛开始时间
// 	optional int32 matchStartTime = 6;

// 	// 客户端 / 10 得到赔率
// 	// 主场赔率
// 	optional int32 homeOdds = 7;
// 	// 客场赔率
// 	optional int32 visitOdds = 8;
// 	// 平局赔率
// 	optional int32 drawOdds = 9;

// 	// 主场总下注
// 	optional string homeBet = 10;
// 	// 客场总下注
// 	optional string visitBet = 11;
// 	// 平局总下注
// 	optional string drawBet = 12;

// 	// 我的投注
// 	optional int32 selfHomeBet = 13;
// 	optional int32 selfVisitBet = 14;
// 	optional int32 selfDrawBet = 15;

// 	// 下注上限
// 	optional int32 betMaxCount = 16;

// 	// 比赛id
// 	optional int32 matchId = 18;
// }

// // 投注界面结果
// message packetw2c_worldcup_req_bet_info_result
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_worldcup_req_bet_info_result ]; 

// 	repeated BetInfo betInfoList = 2;
// }

// // 投注信息刷新界面，界面处于打开状态时，每1分钟请求一次数据
// message packetc2w_worldcup_req_refresh_bet_info
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_worldcup_req_refresh_bet_info ]; 

// 	optional int32 matchId = 2;
// }

// // 投注信息刷新界面，界面处于打开状态时，每1分钟请求一次数据
// message packetw2c_worldcup_req_refresh_bet_info_result
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_worldcup_req_refresh_bet_info_result ]; 

// 	optional int32 matchId = 2;

// 	// 客户端 / 10 得到赔率
// 	// 主场赔率
// 	optional int32 homeOdds = 3;
// 	// 客场赔率
// 	optional int32 visitOdds = 4;
// 	// 平局赔率
// 	optional int32 drawOdds = 5;

// 	// 主场总下注
// 	optional string homeBet = 6;
// 	// 客场总下注
// 	optional string visitBet = 7;
// 	// 平局总下注
// 	optional string drawBet = 8;
// }

// // 查看赛程
// message packetc2w_worldcup_view_match
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_worldcup_view_match]; 

// 	// 返回 赛程 Id > afterId的所有赛程
// 	optional int32 afterId = 2;
// }

// message MatchResult
// {
// 	// 主场队伍ID
// 	optional int32 homeTeamId = 1;

// 	// 客场队伍ID
// 	optional int32 visitTeamId = 2;

// 	// 比赛结果 0-主场胜  1-客场胜 2-平局 3-比赛结果未定
// 	optional int32 matchResult = 3;

// 	// 比赛id
// 	optional int32 matchId = 4;
// }

// message packetw2c_worldcup_view_match_result
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_worldcup_view_match_result ]; 

// 	repeated MatchResult resultList = 2;
// }

// // 请求历史信息
// message packetc2w_worldcup_req_history_info
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_worldcup_req_history_info ]; 

// 	// 比赛id
// 	optional int32 matchId = 2;
// }

// message HistoryBetInfo
// {
// 	// 总投注
// 	optional string totalBet = 1;

// 	// 我的竞猜
// 	optional int32 selfGuess = 2;

// 	// 获得金币
// 	optional int32 winGold = 3;

// 	// 赔率。客户端 / 10得到赔率
// 	optional int32 odds = 4;
// }

// // 请求历史信息结果
// message packetw2c_worldcup_req_history_info_result
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_worldcup_req_history_info_result]; 

// 	// 比赛id
// 	optional int32 matchId = 2;

// 	// 索引 0-主场投注信息  1-客场投注信息  2-平局投注信息。列表可能有3项，也可能有2项。
// 	repeated HistoryBetInfo historyList = 3;
// }

//////////////////////////// 活动幸运宝箱 /////////////////////////////////////////
// 免费领取宝箱奖励
// message packetc2w_free_recv_box_reward
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_free_recv_box_reward ]; 
// }

// // 领取宝箱奖励结果。免费领取，通过充值领取，都会通过这个协议返回
// message packetw2c_recv_box_reward_result
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_box_reward_result ]; 

// 	// 宝箱ID
// 	optional int32 boxId = 2;

// 	// 奖励索引列表
// 	repeated int32 rewardIndexList = 3;

// 	// 领取结果
// 	optional int32 result = 4;
// }

// // 免费领取宝箱信息
// message packetc2w_get_free_recv_info
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_free_recv_info ]; 
// }

// // 免费领取宝箱信息结果。
// message packetw2c_get_free_recv_info_result
// {
// 	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_free_recv_info_result ]; 

// 	// 距离开始免费领取的剩余时间, 0表示已开始
// 	optional int32 remainTime = 2;

// 	// 是否已领取过
// 	optional bool isRecv = 3;

// 	// 剩余个数
// 	optional int32 remainCount = 4;
// }

//////////////////////////// 活动任务通知 /////////////////////////////////////////

message packetw2c_activity_quest_notify
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_activity_quest_notify ]; 
	optional int32 activityId = 2;
	optional int32 type = 3;
	optional int32 id = 4;
	optional int32 count = 5;
	//optional int32 day = 6;
	optional int32 param = 6;
	optional int32 endtime = 7;
}

//////////////////////////// 元旦活动 /////////////////////////////////////////
//同步元旦活动信息
message packetw2c_syn_new_year_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_new_year_info ]; 
	optional int32 activityState = 2;							// 活动状态 190721
	optional int32 startTime = 3;
	optional int32 endTime = 4;
	repeated int32 signList = 5;								// 签到信息
}

//元旦签到 15天
message packetc2w_recv_new_year_login_reward
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_new_year_login_reward ]; 
	optional int32 signIndex = 2;
}

//元旦签到返回
message packetw2c_recv_new_year_login_reward_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_new_year_login_reward_result ]; 
	optional int32 signIndex = 2;
	optional int32 result = 3;
}

//////////////////////////// 国庆活动 [弃用] /////////////////////////////////////////
//同步国庆活动信息
message packetw2c_syn_national_day_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_national_day_info ]; 
	optional int32 activityState = 2;							// 活动状态 190721
	optional int32 startTime = 3;
	optional int32 endTime = 4;
	repeated int32 signList = 5;								// 签到信息
	optional int32 questBranch = 6;								// 任务支线	
	repeated msg_info_def.msg_quest_info questList = 7;			// 任务列表
	repeated int32 rewardRecvList = 8;							// 奖励已领取的列表
}

message packetw2c_national_day_quest_notify
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_national_day_quest_notify ]; 
	optional int32 type = 2;
	optional int32 id = 3;
	optional int32 count = 4;
	optional int32 endtime = 5;
}

//国庆签到 15天
message packetc2w_recv_national_day_login_reward
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_national_day_login_reward ]; 
	optional int32 signIndex = 2;
}

//国庆签到返回
message packetw2c_recv_national_day_login_reward_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_national_day_login_reward_result ]; 
	optional int32 signIndex = 2;
	optional int32 result = 3;
}

//领取国庆任务
message packetc2w_recv_national_day_quest_award
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_national_day_quest_award ];
	optional int32 questId = 2;
}

//领取国庆任务返回
message packetw2c_recv_national_day_quest_award_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_national_day_quest_award_result ]; 
	optional int32 result = 2;
	optional int32 questId = 3;
	optional int32 branch = 4;
	optional int32 nextTaskId = 5;
	repeated msg_info_def.ItemInfo items = 6;
}

//国庆选择任务分支
message packetc2w_national_day_choose_task
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_national_day_choose_task ];
	optional int32 branch = 2;
}

//国庆选择任务分支返回
message packetw2c_national_day_choose_task_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_national_day_choose_task_result ]; 
	optional int32 result = 2;
	optional int32 branch = 3;
	optional int32 nextTaskId = 4;
}

//////////////////////////// 春节活动 /////////////////////////////////////////
//同步元旦活动信息
message packetw2c_syn_spring_day_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_spring_day_info ]; 
	optional int32 activityState = 2;							// 活动状态
	optional int32 startTime = 3;
	optional int32 endTime = 4;
	repeated int32 signList = 5;								// 签到信息
}

//元旦签到 15天
message packetc2w_recv_spring_day_login_reward
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_spring_day_login_reward ]; 
	optional int32 signIndex = 2;
}

//元旦签到返回
message packetw2c_recv_spring_day_login_reward_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_spring_day_login_reward_result ]; 
	optional int32 signIndex = 2;
	optional int32 result = 3;
}

//////////////////////////// 猎鱼活动 /////////////////////////////////////////
//同步猎鱼活动信息
message packetw2c_syn_hunt_fish_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_hunt_fish_info ]; 
	optional int32 activityState = 2;							// 活动状态 
	optional int32 startTime = 3;
	optional int32 endTime = 4;
}

//同步猎鱼活动任务
message packetc2w_get_hunt_fish_quest
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_hunt_fish_quest];
}

//同步猎鱼活动任务返回
message packetw2c_get_hunt_fish_quest_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_hunt_fish_quest_result]; 
	repeated msg_info_def.msg_quest_info questList = 2;
}

//领取猎鱼任务
message packetc2w_recv_hunt_fish_quest_award
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_hunt_fish_quest_award ];
	optional int32 questId = 2;
}

//领取猎鱼任务返回
message packetw2c_recv_hunt_fish_quest_award_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_hunt_fish_quest_award_result ]; 
	optional int32 result = 2;
	optional int32 questId = 3;
	repeated msg_info_def.ItemInfo items = 6;
}

//////////////////////////// 累充活动 /////////////////////////////////////////
//同步猎鱼活动信息
message packetw2c_syn_recharge_activity_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_recharge_activity_info ]; 
	optional int32 activityState = 2;							// 活动状态 
	optional int32 startTime = 3;
	optional int32 endTime = 4;
	optional int32 totalRecharge = 5;							// 活动累充 
	repeated int32 rewardRecvList = 6;							// 奖励已领取的列表
}

//领取充值返利
message packetc2w_recharge_activity_rebate
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recharge_activity_rebate ];
	optional int32 rewardId = 2;
}

//领取充值返利返回
message packetw2c_recharge_activity_rebate_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recharge_activity_rebate_result ]; 
	optional int32 result = 2;
	optional int32 rewardId = 3;
}

//////////////////////////// 五一活动 [弃用] /////////////////////////////////////////
//同步五一活动信息
message packetw2c_syn_wuyi_vacation_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_wuyi_vacation_info ]; 
	optional int32 startTime = 2;
	optional int32 endTime = 3;
	optional int32 signCount = 4;								// 签到天数
	optional bool canSign = 5;									// 可签到
	repeated msg_info_def.msg_quest_info questList = 6;			// 任务列表
	repeated msg_info_def.msg_quest_info haiShenList = 7;		// 海神任务列表
	repeated bool handbooksAwardStat = 8;						// 图鉴集齐奖励状态
	repeated int32 handbooksStat = 9;							// 图鉴状态 0未拥有 1已拥有未领取金币 2拥有已领取
	optional int32 paddyCount = 10;								// 稻谷数量
}

//五一签到
message packetc2w_recv_wuyi_login_reward
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wuyi_login_reward ]; 
	optional int32 signIndex = 2;
}

//五一签到返回
message packetw2c_recv_wuyi_login_reward_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_wuyi_login_reward_result ]; 
	optional int32 signIndex = 2;
	optional int32 result = 3;
	repeated int32 exHandbooksId = 4;	//额外获取图鉴
}

//领取五一任务 1普通任务 2海神令任务 3海神令一键领取
message packetc2w_recv_wuyi_quest_award
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wuyi_quest_award ];
	optional int32 type = 2;
	optional int32 questId = 3;
	optional int32 receiveBit = 4;

}

//领取五一任务返回
message packetw2c_recv_wuyi_quest_award_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_wuyi_quest_award_result ]; 
	optional int32 result = 2;
	optional int32 type = 3;
	optional int32 questId = 4;
	optional int32 receiveBit = 5;
	repeated msg_info_def.ItemInfo items = 6;
}

//领取五一图鉴金币奖励
message packetc2w_recv_wuyi_handbooks_gold
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wuyi_handbooks_gold ];
	optional int32 handbooksId = 2;
}

//领取五一图鉴金币奖励返回
message packetw2c_recv_wuyi_handbooks_gold_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_wuyi_handbooks_gold_result ]; 
	optional int32 handbooksId = 2;
	optional int32 result = 3;
}

//领取五一图鉴任务奖励
message packetc2w_recv_wuyi_handbooks_award
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_wuyi_handbooks_award ];
	optional int32 type = 2;
}

//领取五一图鉴任务奖励
message packetw2c_recv_wuyi_handbooks_award_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_wuyi_handbooks_award_result ]; 
	optional int32 result = 2;
	repeated int32 typelist = 3;
	optional int32 handbooksGold = 4;
}

//五一抽奖
message packetc2w_wuyi_lottery
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_wuyi_lottery ];
	optional int32 type = 2;
}

//领取五一图鉴任务奖励
message packetw2c_wuyi_lottery_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_wuyi_lottery_result ]; 
	optional int32 result = 2;
	optional int32 type = 3;
	optional int32 rewardId = 4;
}

//////////////////////////// 场次任务 /////////////////////////////////////////
message pointRewardInfos
{
	optional int32 id = 1;
	optional int32 received = 2;
}

message pointInfos
{
	optional int32 roomId = 1;
	optional int32 count = 2;
}

//同步场次任务信息
message packetw2c_syn_room_quest_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_room_quest_info ];
	optional int32 activityState = 2;							// 活动状态 
	optional int32 startTime = 3;
	optional int32 endTime = 4;
	repeated pointRewardInfos pointRewardinfos = 5;
	repeated pointInfos questPoints = 6;
	optional int32 sharkCardType = 7;
}

//同步五一活动任务
message packetc2w_get_room_quest
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_room_quest];
}

//同步五一活动任务返回
message packetw2c_get_room_quest_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_room_quest_result]; 
	repeated msg_info_def.msg_quest_info questList = 2;
	optional int32 sharkCardType = 3;
}

message packetc2w_recv_room_quest_award
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_room_quest_award ];
	optional int32 questId = 2;
}

message packetw2c_recv_room_quest_award_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_room_quest_award_result ]; 
	optional int32 result = 2;
	optional int32 questId = 3;
	repeated msg_info_def.ItemInfo items = 4;
}

message packetc2w_recv_room_quest_point_award
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_room_quest_point_award ];
	optional int32 questId = 2;
}

message packetw2c_recv_room_quest_point_award_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_room_quest_point_award_result ]; 
	optional int32 result = 2;
	optional int32 questId = 3;
	repeated msg_info_def.ItemInfo items = 4;
}

//////////////////////////// 捞鱼活动 /////////////////////////////////////////
//同步捞鱼活动信息
message packetw2c_syn_catch_fish_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_catch_fish_info ]; 
	optional int32 activityState = 2;							// 活动状态 
	optional int32 startTime = 3;
	optional int32 endTime = 4;
	optional int32 coinCount = 5;								// 游戏币数量
	repeated catchFishHistory historyList = 6;
}

message catchFishHistory
{
	optional int32 time = 1;
	optional string nickname = 2;
	optional int32 fishType = 3;
	optional int32 rate = 4;
	optional int32 gold = 5;
}

message catchFishInfo
{
	optional int32 rate = 1;
	optional int32 gold = 2;
}

//捞鱼
message packetc2w_catch_fish
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_catch_fish ];
	optional int32 fishType = 2;
	optional int32 netType = 3;
}

//捞鱼返回
message packetw2c_catch_fish_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_catch_fish_result ]; 
	optional int32 result = 2;
	optional int32 fishType = 3;
	optional int32 netType = 4;
	repeated catchFishInfo catchFishInfo = 5;
}

//捞鱼历史
message packetc2w_catch_fish_history
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_catch_fish_history ];
}

//捞鱼历史返回
message packetw2c_catch_fish_history_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_catch_fish_history_result ]; 
	repeated catchFishHistory historyList = 2;
}
//////////////////////////// 端午活动 /////////////////////////////////////////
//同步端午活动信息
message packetw2c_syn_duanwu_vacation_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_duanwu_vacation_info ]; 
	optional int32 startTime = 2;
	optional int32 endTime = 3;
	optional int32 signCount = 4;								// 签到天数
	optional bool canSign = 5;									// 可签到
	optional int32 resetTimes = 6;								// 图鉴奖励重置次数
	repeated bool handbooksAwardStat = 7;						// 图鉴集齐奖励状态
	repeated int32 handbooksStat = 8;							// 图鉴状态 0未拥有 1已拥有未领取金币 2拥有已领取
	optional int32 paddyCount = 9;								// 稻谷数量
}

//同步端午活动任务
message packetc2w_get_duanwu_vacation_quest
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_duanwu_vacation_quest];
}

//同步端午活动任务返回
message packetw2c_get_duanwu_vacation_quest_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_duanwu_vacation_quest_result]; 
	repeated msg_info_def.msg_quest_info questList = 2;
}

//端午签到
message packetc2w_recv_duanwu_login_reward
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_login_reward ]; 
	optional int32 signIndex = 2;
}

//端午签到返回
message packetw2c_recv_duanwu_login_reward_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_duanwu_login_reward_result ]; 
	optional int32 signIndex = 2;
	optional int32 result = 3;
	repeated int32 exHandbooksId = 4;	//额外获取图鉴
}

//领取端午任务
message packetc2w_recv_duanwu_quest_award
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_quest_award ];
	optional int32 questId = 2;
	optional int32 receiveBit = 3;

}

//领取端午任务返回
message packetw2c_recv_duanwu_quest_award_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_duanwu_quest_award_result ]; 
	optional int32 result = 2;
	optional int32 questId = 3;
	optional int32 receiveBit = 4;
	repeated msg_info_def.ItemInfo items = 5;
}

//领取端午图鉴金币奖励
message packetc2w_recv_duanwu_handbooks_gold
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_handbooks_gold ];
	optional int32 handbooksId = 2;
}

//领取端午图鉴金币奖励返回
message packetw2c_recv_duanwu_handbooks_gold_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_duanwu_handbooks_gold_result ]; 
	optional int32 handbooksId = 2;
	optional int32 result = 3;
}

//领取五一图鉴任务奖励
message packetc2w_recv_duanwu_handbooks_award
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_duanwu_handbooks_award ];
	optional int32 type = 2;
}

//领取端午图鉴任务奖励
message packetw2c_recv_duanwu_handbooks_award_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_duanwu_handbooks_award_result ]; 
	optional int32 result = 2;
	repeated int32 typelist = 3;
	optional int32 handbooksGold = 4;
}

//端午抽奖
message packetc2w_duanwu_lottery
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_duanwu_lottery ];
	optional int32 type = 2;
}

//领取端午图鉴任务奖励
message packetw2c_duanwu_lottery_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_duanwu_lottery_result ]; 
	optional int32 result = 2;
	optional int32 type = 3;
	repeated int32 rewardId = 4;
}

//////////////////////////// 暑期活动 /////////////////////////////////////////
//同步暑期活动信息
message packetw2c_syn_summer_vacation_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_summer_vacation_info ];
	optional int32 activityState = 2;							// 活动状态 
	optional int32 startTime = 3;
	optional int32 endTime = 4;
	optional int32 signCount = 5;								// 签到天数
	optional int32 resetTimes = 6;								// 图鉴奖励重置次数
	optional bool canSign = 7;									// 可签到
	repeated bool handbooksAwardStat = 8;						// 图鉴集齐奖励状态
	repeated int32 handbooksStat = 9;							// 图鉴状态 0未拥有 1已拥有未领取金币 2拥有已领取
	optional int32 paddyCount = 10;								// 稻谷数量
}

//同步暑期活动任务
message packetc2w_get_summer_quest
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_summer_quest];
}

//同步暑期活动任务返回
message packetw2c_get_summer_quest_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_summer_quest_result]; 
	repeated msg_info_def.msg_quest_info questList = 2;
}

//暑期签到
message packetc2w_recv_summer_login_reward
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_login_reward ]; 
	optional int32 signIndex = 2;
}

//暑期签到返回
message packetw2c_recv_summer_login_reward_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_summer_login_reward_result ]; 
	optional int32 signIndex = 2;
	optional int32 result = 3;
	repeated int32 exHandbooksId = 4;	//额外获取图鉴
}

//领取暑期任务
message packetc2w_recv_summer_quest_award
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_quest_award ];
	optional int32 questId = 2;
	optional int32 receiveBit = 3;

}

//领取暑期任务返回
message packetw2c_recv_summer_quest_award_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_summer_quest_award_result ]; 
	optional int32 result = 2;
	optional int32 questId = 3;
	optional int32 receiveBit = 4;
	repeated msg_info_def.ItemInfo items = 5;
}

//领取暑期图鉴金币奖励
message packetc2w_recv_summer_handbooks_gold
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_handbooks_gold ];
	optional int32 handbooksId = 2;
}

//领取暑期图鉴金币奖励返回
message packetw2c_recv_summer_handbooks_gold_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_summer_handbooks_gold_result ]; 
	optional int32 handbooksId = 2;
	optional int32 result = 3;
}

//领取暑期图鉴任务奖励
message packetc2w_recv_summer_handbooks_award
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_summer_handbooks_award ];
	optional int32 type = 2;
}

//领取暑期图鉴任务奖励
message packetw2c_recv_summer_handbooks_award_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_summer_handbooks_award_result ]; 
	optional int32 result = 2;
	repeated int32 typelist = 3;
	optional int32 handbooksGold = 4;
}

//暑期抽奖
message packetc2w_summer_lottery
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_lottery ];
	optional int32 type = 2;
}

//领取暑期图鉴任务奖励
message packetw2c_summer_lottery_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_lottery_result ]; 
	optional int32 result = 2;
	optional int32 type = 3;
	repeated int32 rewardId = 4;
}

//////////////////////////// 一夜暴富活动 /////////////////////////////////////////
message onr_history_info
{
	optional string name = 1;
	optional int32 rate = 2;
}
//同步一夜暴富活动信息
message packetw2c_syn_one_night_rich_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_one_night_rich_info ]; 
	optional int32 activityState = 2;							// 活动状态 
	optional int32 startTime = 3;
	optional int32 endTime = 4;
	optional int32 recharged = 5;								// 充值数量
	optional int32 lotteryId = 6;								// 充值数量
	repeated bool receiveCheck = 7;
}

//领取一夜暴富
message packetc2w_recv_one_night_rich_award
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_one_night_rich_award ];
	optional int32 type = 2;
}

//领取一夜暴富返回
message packetw2c_recv_one_night_rich_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_one_night_rich_result ]; 
	optional int32 result = 2;
	optional int32 type = 3;
	optional int32 index = 4;
}

//拉历史
message packetc2w_recv_onr_historyList
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_onr_historyList ];
}

//拉历史返回
message packetw2c_recv_onr_historyList_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_onr_historyList_result]; 
	repeated onr_history_info historyList = 4;
}
//////////////////////////// 福运之星活动 /////////////////////////////////////////
//同步福运之星活动信息
message packetw2c_syn_fortune_star_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_fortune_star_info ]; 
	optional int32 activityState = 2;							// 活动状态
	optional int32 startTime = 3;
	optional int32 endTime = 4;
	optional int32 myFortuneStar = 5;
}

//同步福运之星活动任务
message packetc2w_get_fortune_star_quest
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_fortune_star_quest];
}

//同步福运之星任务返回
message packetw2c_get_fortune_star_quest_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_fortune_star_quest_result]; 
	repeated msg_info_def.msg_quest_info questList = 2;
}

//领取福运之星任务
message packetc2w_recv_fortune_star_quest_award
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_fortune_star_quest_award ];
	optional int32 questId = 2;
}

//领取福运之星任务返回
message packetw2c_recv_fortune_star_quest_award_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_fortune_star_quest_award_result]; 
	optional int32 result = 2;
	optional int32 questId = 3;
	repeated msg_info_def.ItemInfo items = 5;
}

//福运之星兑换
message packetc2w_recv_fortune_star_award
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_fortune_star_award ];
	optional int32 index = 2;
}

//福运之星兑换返回
message packetw2c_recv_fortune_star_award_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_fortune_star_award_result ]; 
	optional int32 result = 2;
	optional int32 index = 3;
	optional int32 myFortuneStar = 4;
}

//////////////////////////// 私人订制活动 /////////////////////////////////////////
message activity_rank
{
	optional string nickName = 1;
	optional int32 playerId = 2;
	optional int32 vip = 3;
	optional int32 headid = 4;
	optional int32 frameid = 5;
	optional int32 score = 6;
	optional int32 rank = 7;
}

message personal_tailor_lottery_history
{
	optional string nickName = 1;
	optional string itemName = 2;
	optional int32 count = 3;
}

//同步私人订制活动信息
message packetw2c_syn_personal_tailor_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_personal_tailor_info ]; 
	optional int32 activityState = 2;							// 活动状态
	optional int32 startTime = 3;
	optional int32 endTime = 4;
	optional int32 exchangeTicket1 = 5;							// 单连凭证
	optional int32 exchangeTicket2 = 6;							// 十连凭证
	optional int32 points = 7;									// 积分
	repeated activity_rank rankList = 8;
	repeated personal_tailor_lottery_history historyList = 9;
}

//私人订制排行获取
message packetc2w_get_personal_tailor_rank
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_personal_tailor_rank ];
}

//私人订制排行获取返回
message packetw2c_get_personal_tailor_rank_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_personal_tailor_rank_result]; 
	repeated activity_rank rankList = 2;
	optional int32 myPoints = 3;			
}

//私人订制抽奖历史获取
message packetc2w_get_personal_tailor_lottry_history
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_personal_tailor_lottry_history ];
}

//私人订制抽奖历史获取返回
message packetw2c_get_personal_tailor_lottry_history_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_personal_tailor_lottry_history_result]; 
	repeated personal_tailor_lottery_history historyList = 2;
}

//私人订制抽奖
message packetc2w_personal_tailor_lottery
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_personal_tailor_lottery ];
	optional int32 count = 2;		//抽奖次数 1/10
}

//私人订制抽奖返回
message packetw2c_personal_tailor_lottery_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_personal_tailor_lottery_result]; 
	optional int32 result = 2;
	optional int32 count = 3;
	repeated int32 index = 4;
}

//私人订制兑换
message packetc2w_personal_tailor_exchange
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_personal_tailor_exchange ];
	optional int32 index = 2;
}

//私人订制兑换返回
message packetw2c_personal_tailor_exchange_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_personal_tailor_exchange_result ]; 
	optional int32 result = 2;
	optional int32 index = 3;
}

//////////////////////////// 限时购活动 /////////////////////////////////////////
//同步限时购活动信息
message packetw2c_syn_time_limit_purchase_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_time_limit_purchase_info ]; 
	optional int32 activityState = 2;							// 活动状态
	optional int32 startTime = 3;
	optional int32 endTime = 4;
	optional int32 itemClock = 5;								// 闹钟数量
}

//限时购抽奖
message packetc2w_time_limit_purchase_lottery
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_time_limit_purchase_lottery ];
	optional int32 count = 2;		//抽奖次数 1/10
}

//限时购抽奖返回
message packetw2c_time_limit_purchase_lottery_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_time_limit_purchase_lottery_result]; 
	optional int32 result = 2;
	optional int32 count = 3;
	repeated int32 index = 4;
}

//////////////////////////// 幸运福袋活动 /////////////////////////////////////////
//同步幸运福袋活动信息
message packetw2c_syn_lucky_bag_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_lucky_bag_info ]; 
	optional int32 activityState = 2;							// 活动状态
	optional int32 startTime = 3;
	optional int32 endTime = 4;
}

//////////////////////////// VIP限购活动 /////////////////////////////////////////
//同步限时购活动信息
message packetw2c_syn_vip_limit_purchase_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_vip_limit_purchase_info ];
	optional int32 activityState = 2;							// 活动状态
	optional int32 startTime = 3;
	optional int32 endTime = 4;
}

//////////////////////////// 炮倍抽奖活动 /////////////////////////////////////////
//同步限时购活动信息
message packetw2c_syn_turret_lottery_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_turret_lottery_info ]; 
	optional int32 activityState = 2;							// 活动状态
	optional int32 startTime = 3;
	optional int32 endTime = 4;
}

//抽奖
message packetc2w_turret_lottery
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_turret_lottery ];
	optional int32 count = 2;		//抽奖次数 1/10
}

//限时购抽奖返回
message packetw2c_turret_lottery_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_turret_lottery_result]; 
	optional int32 result = 2;
	optional int32 count = 3;
	repeated int32 index = 4;
}

//////////////////////////// 砸蛋活动 /////////////////////////////////////////
//同步砸蛋活动信息
message packetw2c_syn_smashing_eggs_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_smashing_eggs_info ]; 
	optional int32 activityState = 2;							// 活动状态
	optional int32 startTime = 3;
	optional int32 endTime = 4;
	optional int32 recharged = 5;								// 充值金额
	optional int32 hammer = 6;									// 锤子数
	optional int64 jackpot = 7;									// 奖池
}

//砸蛋
message packetc2w_get_smashing_eggs_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_smashing_eggs_info ];
}

//砸蛋
message packetc2w_smashing_eggs
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_smashing_eggs ];
	optional int32 type = 2;		//1 铜 2 银 3 金
}

//砸蛋返回
message packetw2c_smashing_eggs_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_smashing_eggs_result]; 
	optional int32 result = 2;
	optional int32 type = 3;		//1 铜 2 银 3 金
	optional int32 index = 4;
}

//砸蛋排行
message packetc2w_get_smashing_eggs_rank
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_smashing_eggs_rank ];
}
	
//砸蛋排行返回
message packetw2c_get_smashing_eggs_rank_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_smashing_eggs_rank_result]; 
	repeated activity_rank rankList = 2;
	optional int32 mypoint = 3;
}

//////////////////////////// 暴富抽奖活动 /////////////////////////////////////////
//同步暴富抽奖活动信息
message packetw2c_syn_rich_lottery_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_rich_lottery_info ]; 
	optional int32 activityState = 2;							// 活动状态
	optional int32 startTime = 3;
	optional int32 endTime = 4;
	optional int32 mult = 5;									// 倍数
}

//暴富抽奖
message packetc2w_rich_lottery
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_rich_lottery ];
}

//暴富抽奖返回
message packetw2c_rich_lottery_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_rich_lottery_result]; 
	optional int32 result = 2;
	optional int32 mult = 3;
}

//////////////////////////// 暑期大狂欢活动 /////////////////////////////////////////
//同步暑期大狂欢活动信息
message packetw2c_syn_summer_revels_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_summer_revels_info ]; 
	optional int32 activityState = 2;							// 活动状态
	optional int32 startTime = 3;
	optional int32 endTime = 4;
	optional int32 points = 5;
	optional int32 todayRecharged = 6;
	repeated activity_rank rankList = 7;
	repeated bool receiveCheck = 8;
}

//暑期大狂欢排行获取
message packetc2w_get_summer_revels_rank
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_summer_revels_rank];
}

//暑期大狂欢排行获取返回
message packetw2c_get_summer_revels_rank_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_summer_revels_rank_result]; 
	repeated activity_rank rankList = 2;
	optional int32 myPoints = 3;			
}

//暑期大狂欢抽奖
message packetc2w_summer_revels_lottery
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_revels_lottery ];
	optional int32 index = 2;
}

//暑期大狂欢抽奖返回
message packetw2c_summer_revels_lottery_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_revels_lottery_result]; 
	optional int32 result = 2;
	optional int32 index = 3;
	repeated msg_info_def.ItemInfo items = 4;
}
//////////////////////////// 猎妖塔活动 /////////////////////////////////////////
message attackInfo
{
	optional int32 weaponId = 1;
	optional int32 harmValue = 2;
}

message demonTowerInfo
{
	optional int32 floor = 1;		//层数
	optional int32 leftLife = 2;	//剩余生命
	optional int32 curRound = 3;	//当前回合
	optional int32 killCount = 4;	//击杀次数
	optional int32 starCount = 5;	//星星数
	repeated attackInfo attackHistory = 6;	//攻击历史
}

message weaponInfo
{
	optional int32 weaponId = 1;		//武器ID
	optional int32 count = 2;
}

//同步猎妖塔活动信息
message packetw2c_syn_kill_demons_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_kill_demons_info ]; 
	optional int32 activityState = 2;							// 活动状态
	optional int32 startTime = 3;
	optional int32 endTime = 4;
	optional int32 trialScore = 5;								// 试炼积分
	optional int32 trialScoreHistory = 6;						// 试炼积分历史值
	optional int32 swordEnergy = 7;								// 剑气值
	optional int32 smeltTimes = 8;								// 熔炼次数
	optional int32 huntDemonScore = 9;							// 猎妖积分
	repeated bool receiveTrial = 10;							// 试炼值奖励领取标记
	repeated bool receiveSwordEnergy = 11;						// 剑气值奖励领取标记
	repeated bool receiveStar = 12;								// 星星值奖励领取标记
	repeated demonTowerInfo towerList = 14;						// 塔数据
	repeated weaponInfo weaponList= 15;							// 武器数据
	optional int32 starCount = 16;								// 星星总数
}

//领取猎妖塔任务
message packetc2w_recv_kill_demons_quest_award
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_kill_demons_quest_award ];
	optional int32 questId = 2;
}

//领取猎妖塔任务返回
message packetw2c_recv_kill_demons_quest_award_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_kill_demons_quest_award_result ]; 
	optional int32 result = 2;
	optional int32 questId = 3;
	repeated msg_info_def.ItemInfo items = 6;
}

//领取试炼奖励
message packetc2w_recv_trial_score_award
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_trial_score_award ];
	optional int32 index = 2;
}

//领取试炼奖励返回
message packetw2c_recv_trial_score_award_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_trial_score_award_result ]; 
	optional int32 result = 2;
	optional int32 index = 3;
}

//领取星星奖励
message packetc2w_recv_star_award
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_star_award ];
	optional int32 index = 2;
}

//领取星星返回
message packetw2c_recv_star_award_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_star_award_result]; 
	optional int32 result = 2;
	optional int32 index = 3;
}

//攻击妖怪
message packetc2w_attack_demon
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_attack_demon ];
	optional int32 floor = 2;				// 层数
	optional bool isHangUp = 3;				// 是否挂机
	optional int32 weaponId = 4;			// 武器ID(非挂机)
}

//攻击妖怪返回
message packetw2c_attack_demon_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_attack_demon_result ]; 
	optional int32 result = 2;
	optional int32 floor = 3;				// 层数
	optional bool isHangUp = 4;				// 是否挂机
	repeated int32 weaponId = 5;			// 武器ID
	repeated int32 harmValue = 6;			// 造成伤害
	optional int32 curRound = 7;			// 当前回合
	optional int32 LeftLife = 8;			// 剩余生命值
	//击杀产生数据:
	optional int32 balanceStar = 9;			// 结算星星
	repeated msg_info_def.ItemInfo items = 10;
}

//猎妖塔排行获取
message packetc2w_get_kill_demons_rank
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_kill_demons_rank];
}

//猎妖塔排行获取返回
message packetw2c_get_kill_demons_rank_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_kill_demons_rank_result]; 
	repeated activity_rank rankList = 2;
	repeated int32 thresholdValue = 3;
	optional activity_rank myRank = 4;
}

//猎妖塔熔炼 
message packetc2w_kill_demons_smelt
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_kill_demons_smelt];
	optional int32 smeltTimes = 2;			// 熔炼次数
}

//猎妖塔熔炼返回
message packetw2c_kill_demons_smelt_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_kill_demons_smelt_result]; 
	optional int32 result = 2;
	optional int32 smeltTimes = 3;			// 熔炼次数
	repeated int32 smeltReward = 4;
}

//领取剑气奖励
message packetc2w_recv_sword_energy_award
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_sword_energy_award];
	optional int32 index = 2;
}

//领取剑气奖励返回
message packetw2c_recv_sword_energy_award_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_sword_energy_award_result]; 
	optional int32 result = 2;
	optional int32 index = 3;
}

//任务列表
message packetc2w_kill_demons_task
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_kill_demons_task];
}

//任务列表返回
message packetw2c_kill_demons_task_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_kill_demons_task_result]; 
	repeated msg_info_def.msg_quest_info questList = 2;		// 任务列表
}

//////////////////////////// 2020国庆活动 /////////////////////////////////////////
//同步国庆活动信息
message packetw2c_syn_2020_national_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_2020_national_info ];
	optional int32 activityState = 2;							// 活动状态 
	optional int32 startTime = 3;
	optional int32 endTime = 4;
	optional int32 signCount = 5;								// 签到天数
	optional bool canSign = 6;									// 可签到
	repeated bool handbooksAwardStat = 8;						// 图鉴集齐奖励状态
	repeated int32 handbooksStat = 9;							// 图鉴状态 0未拥有 1已拥有未领取金币 2拥有已领取
	optional int32 paddyCount = 10;								// 稻谷数量
}

//同步国庆活动任务
message packetc2w_get_2020_national_quest
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_2020_national_quest];
}

//同步国庆任务返回
message packetw2c_get_2020_national_quest_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_2020_national_quest_result]; 
	repeated msg_info_def.msg_quest_info questList = 2;
}

//国庆签到
message packetc2w_recv_2020_national_login_reward
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_login_reward ]; 
	optional int32 signIndex = 2;
}

//国庆签到返回
message packetw2c_recv_2020_national_login_reward_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_2020_national_login_reward_result ]; 
	optional int32 signIndex = 2;
	optional int32 result = 3;
	repeated int32 exHandbooksId = 4;	//额外获取图鉴
}

//领取国庆任务
message packetc2w_recv_2020_national_quest_award
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_quest_award ];
	optional int32 questId = 2;
	optional int32 receiveBit = 3;

}

//领取国庆任务返回
message packetw2c_recv_2020_national_quest_award_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_2020_national_quest_award_result ]; 
	optional int32 result = 2;
	optional int32 questId = 3;
	optional int32 receiveBit = 4;
	repeated msg_info_def.ItemInfo items = 5;
}

//领取国庆图鉴金币奖励
message packetc2w_recv_2020_national_handbooks_gold
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_handbooks_gold ];
	optional int32 handbooksId = 2;
}

//领取国庆图鉴金币奖励返回
message packetw2c_recv_2020_national_handbooks_gold_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_2020_national_handbooks_gold_result ]; 
	optional int32 handbooksId = 2;
	optional int32 result = 3;
}

//领取国庆图鉴任务奖励
message packetc2w_recv_2020_national_handbooks_award
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_2020_national_handbooks_award ];
	optional int32 type = 2;
}

//领取国庆图鉴任务奖励
message packetw2c_recv_2020_national_handbooks_award_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_2020_national_handbooks_award_result ]; 
	optional int32 result = 2;
	optional int32 type = 3;
}

//国庆抽奖
message packetc2w_2020_national_lottery
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_2020_national_lottery ];
	optional int32 type = 2;
}

//领取国庆图鉴任务奖励
message packetw2c_2020_national_lottery_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_2020_national_lottery_result ]; 
	optional int32 result = 2;
	optional int32 type = 3;
	repeated int32 rewardId = 4;
}

////////////////同步私人订制活动信息////////////////////////
message packetw2c_syn_personal_tailor_new_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_personal_tailor_new_info ]; 
	optional int32 activityState = 2;							// 活动状态
	optional int32 startTime = 3;
	optional int32 endTime = 4;
	repeated int32 tailorItems = 5;
}

//私人订制道具选择
message packetc2w_change_personal_tailor_items
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_change_personal_tailor_items ];
	repeated int32 tailorItems = 2;
}

//私人订制道具选择返回
message packetw2c_change_personal_tailor_items_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_change_personal_tailor_items_result]; 
	repeated int32 tailorItems = 2;
	optional int32 result = 3;			
}

//////////////////////////// 超值礼包活动 /////////////////////////////////////////
//同步超值礼包活动信息
message packetw2c_syn_super_value_gift_activity_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_super_value_gift_activity_info ]; 
	optional int32 activityState = 2;							// 活动状态 
	optional int32 startTime = 3;
	optional int32 endTime = 4;
}

//////////////////////////// 双十一活动 /////////////////////////////////////////
//同步双十一活动信息
message packetw2c_syn_double_eleven_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_eleven_info]; 
	optional int32 activityState = 2;									// 活动状态
	optional int32 startTime = 3;
	optional int32 endTime = 4;
	optional int32 lotteryTicket = 5;									// 抽奖券
	optional int32 lotteryCount = 6;									// 抽奖次数
	optional int32 luckyValue = 7;										// 幸运值
	optional int32 recharged = 8;										// 充值金额
	repeated int32 rechargeCheck = 9;
	repeated int32 leftCount = 10;
	repeated bool canbuy = 11;
	repeated activity_rank rankList = 12;
	repeated int32 thresholdValue = 13;
}

//同步双十一任务
message packetc2w_get_double_eleven_quest
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_double_eleven_quest];
}

//同步双十一任务返回
message packetw2c_get_double_eleven_quest_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_double_eleven_quest_result]; 
	repeated msg_info_def.msg_quest_info questList = 2;											// 任务列表
}

message packetw2c_syn_double_eleven_gift_reflush
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_eleven_gift_reflush]; 
	repeated int32 leftCount = 2;
}

//双十一活动排行获取
message packetc2w_get_double_eleven_rank
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_double_eleven_rank ];
}

//双十一活动排行获取返回
message packetw2c_get_double_eleven_rank_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_double_eleven_rank_result]; 
	repeated activity_rank rankList = 2;
	optional int32 myCount = 3;
	optional int32 myRank = 4;
	repeated int32 thresholdValue = 5;
}

//双十一活动抽奖
message packetc2w_double_eleven_lottery
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_double_eleven_lottery];
	optional int32 type = 2;				//消耗类型	1抽奖券 2钻石
	optional int32 count = 3;				//抽奖次数	
}

//双十一活动抽奖返回
message packetw2c_double_eleven_lottery_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_double_eleven_lottery_result]; 
	optional int32 result = 2;
	optional int32 type = 3;				//消耗类型
	optional int32 count = 4;				//抽奖次数	
	repeated int32 rewardid = 5;
	repeated int32 rewardidEx = 6;			//10连抽额外奖励ID
}

//双十一领取充值奖励
message packetc2w_receive_double_eleven_recharge_reward
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_double_eleven_recharge_reward];
	optional int32 index = 2;
}

//双十一领取充值奖励返回
message packetw2c_receive_double_eleven_recharge_reward_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_double_eleven_recharge_reward_result]; 
	optional int32 result = 2;
	optional int32 index = 3;
}

//双十一钻石礼包购买次数刷新
message packetc2w_syn_double_eleven_diamond_gift_count
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_syn_double_eleven_diamond_gift_count];
}

//双十一钻石礼包购买次数刷新返回
message packetw2c_syn_double_eleven_diamond_gift_count_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_eleven_diamond_gift_count_result]; 
	repeated int32 leftCount = 2;
	repeated bool canbuy = 3;
}

//领取双十一任务
message packetc2w_recv_double_eleven_quest_award
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_double_eleven_quest_award ];
	optional int32 questId = 2;
}

//领取双十一任务返回
message packetw2c_recv_double_eleven_quest_award_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_double_eleven_quest_award_result]; 
	optional int32 result = 2;
	optional int32 questId = 3;
	repeated msg_info_def.ItemInfo items = 6;
}

//双十一钻石购买抽奖券
message packetc2w_double_eleven_buy_lottery_ticket
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_double_eleven_buy_lottery_ticket];
	optional int32 index = 2;
}

//双十一钻石购买抽奖券返回
message packetw2c_double_eleven_buy_lottery_ticket_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_double_eleven_buy_lottery_ticket_result]; 
	optional int32 result = 2;
	optional int32 index = 3;
}

//////////////////////////// 翅膀体验活动 /////////////////////////////////////////
//翅膀体验活动
message packetw2c_syn_wing_experience_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_wing_experience_info]; 
	optional int32 activityState = 2;									// 活动状态
	optional int32 startTime = 3;
	optional int32 endTime = 4;
	optional bool received = 5;
}

//翅膀体验领取翅膀
message packetc2w_wing_experience_receive_wing
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_wing_experience_receive_wing];
}

//翅膀体验领取翅膀返回
message packetw2c_wing_experience_receive_wing_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_wing_experience_receive_wing_result]; 
	optional int32 result = 2;
}

//////////////////////////// 王者争霸活动 /////////////////////////////////////////
message exchangeInfo
{
	optional int32 id = 1;
	optional int32 times = 2;
}

//同步王者争霸活动信息
message packetw2c_syn_kingcraft_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_kingcraft_info]; 
	optional int32 activityState = 2;									// 活动状态
	optional int32 startTime = 3;
	optional int32 endTime = 4;
	optional int32 shieldCount = 5;										// 盾牌数量
	optional int32 lotteryTicket = 6;									// 抽奖券
	optional int32 lotteryCount = 7;									// 抽奖次数
	optional int32 recharged = 8;										// 充值金额
	repeated int32 rechargeCheck = 9;									// 累充领取标记
	optional int32 signCount = 10;										// 签到次数
	optional bool canSign = 11;											// 签到标记
	repeated activity_rank rankList = 12;
	repeated int32 thresholdValue = 13;
	repeated exchangeInfo exchangeList = 14;
}

//王者争霸活动排行获取
message packetc2w_get_kingcraft_rank
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_kingcraft_rank ];
}

//王者争霸活动排行获取返回
message packetw2c_get_kingcraft_rank_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_kingcraft_rank_result]; 
	repeated activity_rank rankList = 2;
	optional int32 myCount = 3;
	optional int32 myRank = 4;
	repeated int32 thresholdValue = 5;
}

//王者争霸活动抽奖
message packetc2w_kingcraft_lottery
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_kingcraft_lottery];
	optional int32 type = 2;				//消耗类型	1抽奖券 2钻石
	optional int32 count = 3;				//抽奖次数
}

//王者争霸活动抽奖返回
message packetw2c_kingcraft_lottery_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_kingcraft_lottery_result]; 
	optional int32 result = 2;
	optional int32 type = 3;				//消耗类型
	optional int32 count = 4;				//抽奖次数	
	repeated int32 rewardid = 5;
}

//王者争霸领取充值奖励
message packetc2w_receive_kingcraft_recharge_reward
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_kingcraft_recharge_reward];
	optional int32 index = 2;
}

//王者争霸领取充值奖励返回
message packetw2c_receive_kingcraft_recharge_reward_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_kingcraft_recharge_reward_result]; 
	optional int32 result = 2;
	optional int32 index = 3;
}

//王者争霸兑换
message packetc2w_receive_kingcraft_exchange
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_kingcraft_exchange];
	optional int32 index = 2;
}

//王者争霸兑换返回
message packetw2c_receive_kingcraft_exchange_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_kingcraft_exchange_result]; 
	optional int32 index = 2;
	optional int32 result = 3;
}

//王者争霸签到
message packetc2w_kingcraft_sign
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_kingcraft_sign];
	optional int32 signday = 2;
}

//王者争霸签到返回
message packetw2c_kingcraft_sign_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_kingcraft_sign_result]; 
	optional int32 signday = 2;
	optional int32 result = 3;
}

//////////////////////////// 双蛋活动 /////////////////////////////////////////
//同步猎鱼活动信息
message packetw2c_syn_double_egg_activity_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_double_egg_activity_info ]; 
	optional int32 activityState = 2;							// 活动状态 
	optional int32 startTime = 3;
	optional int32 endTime = 4;
}

//////////////////////////// 一起摸鱼活动 /////////////////////////////////////////
message touchingFishRecInfo
{
	optional int32 id = 1;			// 等级
	optional int32 recValue = 2;	// 0未领取 1普通领取 2普通领取+进阶领取
}
//同步一起摸鱼活动信息
message packetw2c_syn_touching_fish_activity_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_touching_fish_activity_info ]; 
	optional int32 activityState = 2;							// 活动状态 
	optional int32 startTime = 3;
	optional int32 endTime = 4;
	optional int32 season = 5;									// 赛季
	optional int32 exp = 6;
	optional int32 level = 7;
	optional int32 curweek = 8;									// 第几周
	optional int32 weekStartTime = 9;							// 周开始时间
	optional int32 weekEndTime = 10;							// 周结束时间
	optional int32 weekExp = 11;								// 周任务已获取经验
	repeated touchingFishRecInfo levelRevIds = 12;				// 等级领取标记
	optional int32 weekBoxRev = 13;								// 周宝箱领取标记 0 未领取 1普通领取 2礼包领取
}

message packetw2c_syn_touching_fish_exp
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_touching_fish_exp]; 
	optional int32 exp = 2;
	optional int32 level = 3;
	optional int32 weekExp = 4;
}

//领取等级奖励
message packetc2w_recv_touching_fish_level_reward
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_level_reward];
	optional int32 recId = 14;
}

//领取等级奖励返回
message packetw2c_recv_touching_fish_level_reward_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_level_reward_result]; 
	optional int32 result = 2;
	optional int32 recId = 3;
	optional int32 recValue = 4;
}

//摸鱼任务同步
message packetc2w_recv_touching_fish_task
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_task];
}

//摸鱼任务同步返回
message packetw2c_recv_touching_fish_task_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_task_result]; 
	repeated msg_info_def.msg_quest_info questList = 2;		// 任务列表
	repeated msg_info_def.msg_quest_info weekQuestList = 3;	// 周任务列表
}

//领取任务
message packetc2w_recv_touching_fish_quest_award
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_quest_award];
	optional int32 questId = 2;
}

//领取任务返回
message packetw2c_recv_touching_fish_quest_award_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_quest_award_result]; 
	optional int32 result = 2;
	optional int32 questId = 3;
	repeated msg_info_def.ItemInfo items = 4;
}

//领取每周签到
message packetc2w_recv_touching_fish_week_box
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_touching_fish_week_box];
}

//领取每周签到返回
message packetw2c_recv_touching_fish_week_box_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_touching_fish_week_box_result]; 
	optional int32 result = 2;
	optional int32 weekBoxRev = 3;
	repeated msg_info_def.ItemInfo items = 4;
}

//刷新每周任务
message packetc2w_flush_touching_fish_quest
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_flush_touching_fish_quest];
	optional int32 questId = 2;
}

//领取每周签到返回
message packetw2c_flush_touching_fish_quest_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_flush_touching_fish_quest_result]; 
	optional int32 result = 2;
	optional int32 questId = 3;
	optional int32 newQuestId = 4;
}

//私人订制排行获取
message packetc2w_get_touching_fish_rank
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_touching_fish_rank];
}

//私人订制排行获取返回
message packetw2c_get_touching_fish_rank_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_touching_fish_rank_result]; 
	repeated activity_rank rankList = 2;
	repeated int32 thresholdValue = 3;
	optional activity_rank myRank = 4;
}

//////////////////////////// 捕鱼盛典活动 /////////////////////////////////////////
//同步捕鱼盛典活动信息
message packetw2c_syn_fishing_celebration_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_fishing_celebration_info]; 
	optional int32 activityState = 2;				// 活动状态
	optional int32 startTime = 3;
	optional int32 endTime = 4;
	optional int32 curlv = 5;						//当前阶数
	optional int32 bubbleScore = 6;					//泡泡积分			294
	optional int32 cleTicket = 7;					//庆典券			301
	optional int32 cleLotteryTicket = 8;			//庆典抽奖券		302
	optional int32 lotteryCount = 9;				//抽奖次数(排行用)
	repeated int32 giftLotteryCount	= 10;			//礼包抽奖计数(初中高)
	repeated int32 giftLotteryFreeCount = 11;		//免费抽奖次数(初中高)
	repeated int32 giftLotteryState = 12;			//礼包抽奖界面状态(初中高)(显示可买礼包)
	repeated int32 giftLotteryTicket = 13;			//礼包抽奖券(初中高)		303 304 305
	repeated exchangeInfo exchangeList = 14;		//兑换计数
	optional bool itemA = 15;						//298
	optional bool itemB = 16;						//299
	optional bool itemC = 17;						//300
	
	repeated activity_rank rankList = 18;
	repeated int32 thresholdValue = 19;
}

//捕鱼盛典活动抽奖
message packetc2w_fishing_celebration_lottery
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_lottery];
	optional bool allLottery = 2;			//全部抽取
	optional int32 type = 3;				//非全部抽取用	1抽奖券 2钻石
}

//捕鱼盛典活动抽奖返回
message packetw2c_fishing_celebration_lottery_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_lottery_result]; 
	optional int32 result = 2;
	optional bool allLottery = 3;			//全部抽取
	optional int32 type = 4;				//非全部抽取用	1抽奖券 2钻石
	optional int32 costTocket = 5;			//全部抽取消耗的抽奖券数量
	repeated int32 rewardid = 6;			
}

//捕鱼盛典活动激活
message packetc2w_fishing_celebration_activate
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_activate];
	optional int32 lv = 2;					//激活阶等级
}

//捕鱼盛典活动激活返回
message packetw2c_fishing_celebration_activate_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_activate_result]; 
	optional int32 result = 2;
	optional int32 lv = 3;					//激活阶等级
}

//捕鱼盛典活动兑换
message packetc2w_fishing_celebration_exchange
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_exchange];
	optional int32 index = 2;				//兑换id
	optional int32 count = 3;	
}

//捕鱼盛典活动兑换返回
message packetw2c_fishing_celebration_exchange_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_exchange_result]; 
	optional int32 result = 2;
	optional int32 index = 3;				//兑换id
	optional int32 count = 4;
	optional int32 getpro = 5;				//概率道具数量
}

//捕鱼盛典活动礼包免费抽奖次数刷新
message packetw2c_syn_fishing_celebration_free_gift_lottery
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_fishing_celebration_free_gift_lottery]; 
	repeated int32 freeCount = 2;
}

//捕鱼盛典活动礼包抽奖
message packetc2w_fishing_celebration_gift_lottery
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_gift_lottery];
	optional int32 type = 2;				//1初级 2中级 3高级
	optional bool isAdv = 3;				//是否高级 否则免费
}

//捕鱼盛典活动礼包抽奖返回
message packetw2c_fishing_celebration_gift_lottery_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_gift_lottery_result]; 
	optional int32 result = 2;
	optional int32 type = 3;				//1初级 2中级 3高级
	optional bool isAdv = 4;				//是否高级 否则免费
	optional int32 rewardid = 5;
	repeated int32 freeCount = 6;
}

//捕鱼盛典活动礼包抽奖次数奖励
message packetc2w_fishing_celebration_gift_lottery_reward
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_gift_lottery_reward];
	optional int32 type = 2;				//1初级 2中级 3高级
}

//捕鱼盛典活动礼包抽奖次数奖励返回
message packetw2c_fishing_celebration_gift_lottery_reward_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_gift_lottery_reward_result]; 
	optional int32 result = 2;
	optional int32 type = 3;				//1初级 2中级 3高级
}

//捕鱼盛典活动用券买礼包
message packetc2w_fishing_celebration_buy_gift
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_fishing_celebration_buy_gift];
	optional int32 index = 2;				//M_ActivityFishingCeleGiftRecharge表
}

//捕鱼盛典活动用券买礼包返回
message packetw2c_fishing_celebration_buy_gift_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_fishing_celebration_buy_gift_result]; 
	optional int32 result = 2;
	optional int32 index = 3;
}

//捕鱼盛典排行获取
message packetc2w_get_fishing_celebration_rank
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_fishing_celebration_rank];
}

//捕鱼盛典排行获取返回
message packetw2c_get_fishing_celebration_rank_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_fishing_celebration_rank_result]; 
	repeated activity_rank rankList = 2;
	repeated int32 thresholdValue = 3;
	optional activity_rank myRank = 4;
}

//////////////////////////// 回馈活动 /////////////////////////////////////////
message prizeKey
{
	optional int32 gear = 1;
	optional int32 rank = 2;
	repeated string keyList = 3;
}

//回馈活动
message packetw2c_syn_feed_back_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_feed_back_info]; 
	optional int32 activityState = 2;									// 活动状态
	optional int32 startTime = 3;
	optional int32 endTime = 4;
	optional int32 receiveTime = 5;										// 领取结束时间
	optional int32 curGear = 6;
	repeated int32 vipReveiveCount = 7;									// 档位Vip奖励领取次数
	repeated prizeKey prizeList = 8;
}

//回馈活动领取VIP奖励
message packetc2w_get_feed_back_vip_reward
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_feed_back_vip_reward];
	optional int32 gear = 2;
}

//回馈活动领取返回
message packetw2c_get_feed_back_vip_reward_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_feed_back_vip_reward_result];
	optional int32 result = 2;
	optional int32 vip = 3;
	optional int32 vipReveiveCount = 4;
	optional int32 gear = 5;
}

//回馈活动key
message packetc2w_get_feed_back_keylist
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_feed_back_keylist];
	optional int32 gear = 2;
}

//回馈活动key返回
message packetw2c_get_feed_back_keylist_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_feed_back_keylist_result]; 
	optional int32 gear = 2;
	repeated string keyList = 3;
}

//////////////////////////// 碎片宝箱活动 /////////////////////////////////////////
//同步限时购活动信息
message packetw2c_syn_chip_treasure_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_chip_treasure_info ]; 
	optional int32 activityState = 2;							// 活动状态
	optional int32 startTime = 3;
	optional int32 endTime = 4;
}

//抽奖
message packetc2w_chip_treasure_lottery
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_chip_treasure_lottery ];
	optional int32 type = 2;
	optional int32 count = 3;		//抽奖次数 1/10
}

//限时购抽奖返回
message packetw2c_chip_treasure_lottery_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_chip_treasure_lottery_result]; 
	optional int32 result = 2;
	optional int32 type = 3;
	optional int32 count = 4;
	repeated int32 index = 5;
}

//////////////////////////// 暑期计划 /////////////////////////////////////////
message sendGoldHistory
{
	optional int32 Round = 2;					//轮数
	optional string Nickname = 3;				//玩家昵称
	optional int32 Gold = 4;					//金币
}

message sendGoldInfo
{
	optional int32 Gear = 1;					//档位
	optional int32 jackPot = 2;					//奖池
	optional int32 CurRound = 3;				//当前轮数
	optional int32 BuyCount = 4;				//当前购买人数
	optional int32 PartTimes = 5;				//本轮参与次数
	repeated sendGoldHistory HistoryList = 6;	//得奖历史
}

//同步暑期计划信息
message packetw2c_syn_summer_plan_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_summer_plan_info];
	optional int32 activityState = 2;							// 活动状态 
	optional int32 startTime = 3;
	optional int32 endTime = 4;
	optional bool active = 5;					//激活
	optional int32 summerbingo = 6;				//夏日宾果
	optional int32 freeRocketCount = 7;			//免费发射次数
	optional int32 freeRocketCold = 8;			//免费发射次数冷却时间
	optional int32 rocketLeftRecv = 9;			//免费发射剩余领取次数
	optional int32 rocketCurHeight = 10;		//当前高度 领完后归0
	optional int32 recharged = 11;				//充值金额
	repeated int32 rechargedRecv = 12;			//累充领取
	optional int32 drawEyeEnergy = 13;			//画龙点睛能量
	optional int32 touchGoldEnergy = 14;		//点石成金能量
	optional int32 drawEyeTimes = 15;			//画龙点睛次数
	optional int32 touchGoldTimes = 16;			//点石成金次数
}

//获取红包任务数据
message packetc2w_summer_plan_get_redpacket_task
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_get_redpacket_task];
}

//获取红包任务数据返回
message packetw2c_summer_plan_get_redpacket_task_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_get_redpacket_task_result]; 
	repeated msg_info_def.msg_quest_info questList = 2;
}

//获取送财数据(需要打开界面更新)
message packetc2w_summer_plan_sendgold_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_sendgold_info];
}

//获取送财数据返回
message packetw2c_summer_plan_sendgold_info_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_sendgold_info_result]; 
	repeated sendGoldInfo sendGoldInfoList = 2;	//送财数据
}

//激活
message packetc2w_summer_plan_active
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_active];
}

//激活返回
message packetw2c_summer_plan_active_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_active_result]; 
	optional int32 result = 2;
}

//领取红包奖励
message packetc2w_summer_plan_recv_redpacket
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_recv_redpacket];
	optional int32 index = 2;
}

//领取红包奖励返回
message packetw2c_summer_plan_recv_redpacket_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_recv_redpacket_result]; 
	optional int32 result = 2;
	optional int32 index = 3;
	repeated msg_info_def.ItemInfo items = 4;			//概率道具
}

//领取累充奖励
message packetc2w_summer_plan_recv_recharged
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_recv_recharged];
	optional int32 index = 2;
}

//领取累充奖励返回
message packetw2c_summer_plan_recv_recharged_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_recv_recharged_result]; 
	optional int32 result = 2;
	optional int32 index = 3;
}

//道具购买送宝礼包
message packetc2w_summer_plan_buy_sendgold_gift
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_buy_sendgold_gift];
	optional int32 giftID = 2;
}

//道具购买送宝礼包返回
message packetw2c_summer_plan_buy_sendgold_gift_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_buy_sendgold_gift_result]; 
	optional int32 result = 2;
	optional int32 giftID = 3;
	repeated msg_info_def.ItemInfo items = 4;			//概率道具
}

//发射
message packetc2w_summer_plan_launch
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_launch];
}

//发射返回
message packetw2c_summer_plan_launch_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_launch_result]; 
	optional int32 result = 2;
	optional int32 height = 3;
	optional int32 freeRocketCount = 4;			//免费发射次数
	optional int32 freeRocketCold = 5;			//免费发射次数冷却时间
}

//点石成金
message packetc2w_summer_plan_touch_gold
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_summer_plan_touch_gold];
	optional int32 index = 2;
}

//点石成金返回
message packetw2c_summer_plan_touch_gold_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_summer_plan_touch_gold_result]; 
	optional int32 result = 2;
	optional int32 index = 3;
	optional bool free = 4;						//是否免费
	optional int32 drawEyeEnergy = 5;			//画龙点睛能量
	optional int32 touchGoldEnergy = 6;			//点石成金能量
}

//////////////////////////// 欢乐暑期活动 /////////////////////////////////////////
//同步欢乐暑期活动信息
message packetw2c_syn_happy_summer_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_happy_summer_info ]; 
	optional int32 activityState = 2;							// 活动状态
	optional int32 startTime = 3;
	optional int32 endTime = 4;
	optional int32 points = 5;
	optional int32 blindboxkey = 6;								// 盲盒钥匙
	optional int32 lotterkey = 7;								// 转盘钥匙
	repeated int32 blindBoxList = 8;
	repeated msg_info_def.msg_quest_info questList = 9;			// 任务列表
}

//欢乐暑期排行获取
message packetc2w_get_happy_summer_rank
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_happy_summer_rank];
}

//欢乐暑期排行获取返回
message packetw2c_get_happy_summer_rank_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_happy_summer_rank_result]; 
	repeated activity_rank rankList = 2;
	optional int32 myCount = 3;
	optional int32 myRank = 4;
	repeated int32 thresholdValue = 5;
}

//欢乐暑期开启盲盒
message packetc2w_happy_summer_open_box
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_happy_summer_open_box];
	optional int32 index = 2;
}

//欢乐暑期开启盲盒返回
message packetw2c_happy_summer_open_box_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_happy_summer_open_box_result]; 
	optional int32 result = 2;
	optional int32 index = 3;
	repeated int32 items = 4;
	optional int32 curBlindBoxKey = 5;
}

//欢乐暑期抽奖
message packetc2w_happy_summer_lottery
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_happy_summer_lottery ];
	optional bool all = 2;
}

//欢乐暑期抽奖返回
message packetw2c_happy_summer_lottery_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_happy_summer_lottery_result]; 
	optional bool all = 2;
	optional int32 result = 3;
	repeated int32 rewardIndex = 4;
}

//领取欢乐暑期任务
message packetc2w_recv_happy_summer_quest_award
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_happy_summer_quest_award];
	optional int32 questId = 2;
}

//领取欢乐暑期任务返回
message packetw2c_recv_happy_summer_quest_award_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_happy_summer_quest_award_result]; 
	optional int32 result = 2;
	optional int32 questId = 3;
}

//同步欢乐暑期活动任务
message packetc2w_get_happy_summer_quest
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_happy_summer_quest];
}

//同步欢乐暑期活动任务返回
message packetw2c_get_happy_summer_quest_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_happy_summer_quest_result]; 
	repeated msg_info_def.msg_quest_info questList = 2;
}