package fish_protocols;

import "fish_def.proto"; 
import "fish_type_def.proto"; 
import "msg_type_def.proto";
import "fish_armedshark_palace.proto";

//游戏逻辑
//获取场景信息
message packetc2l_get_scene_info {
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_scene_info];
}

//返回场景信息
message packetl2c_get_scene_info_result {
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_scene_info_result];
	optional msg_scene_info scene_info = 2;

	// 我的大奖赛信息
	// optional GrandPrixInfo grandInfo = 3;

	// 可领取救济金的时间点
	optional int32 recvBenefitTime = 4;

	// 已领取救济金次数
	optional int32 recvBenefitCount = 5;

	// 重新登录后的爆金场信息
	// optional BaoJinInfo baojinInfo = 6;
}

//请求改变座位
//message packetc2l_change_seat {
//	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_seat];
//	optional int32 player_id = 2;
//	optional int32 seat_index = 3;
//}

//请求改变座位
message packetc2l_change_rate {
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_rate];
	optional int32 turret_rate = 2;
}

//请求改变座位结果
//message packetl2c_change_seat_result {
//	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_change_seat_result];
//	optional msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
//}

//试用炮台
//message packetc2l_try_turret {
	//optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_try_turret];
//}

//试用炮台结束
//message packetl2c_try_turret_result {
//	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_try_turret_result];
//	optional msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
//	optional int32 try_turret_id = 3 [default = -1];
//	optional int32 try_endtime = 4;
//}

//试用炮台状态
//message packetc2l_try_turret_state {
//	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_try_turret_state];
//}

//试用炮台状态结果
//message packetl2c_try_turret_state_result {
//	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_try_turret_state_result];
//	optional int32 try_turret_id = 2 [default = -1];
//	optional int32 fire_count = 3;
//	optional int32 try_cd = 4;
//	optional int32 try_endtime = 5;
//}

//使用炮台大招
//message packetc2l_use_turret_power {
//	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_use_turret_power];
//	optional bool is_buy = 2 [default = false];											//购买使用
//}

//使用炮台大招结果
//message packetl2c_use_turret_power_result {
//	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_use_turret_power_result];
//	optional msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
//	optional int32 power_type = 3;
//	optional bool is_buy = 4 [default = false];											//购买使用
//}

//炮台旋转
//message packetc2l_turret_rotate {
//	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_turret_rotate];
//	optional int32 rotate_angle = 2;
//}

message packetc2l_sync_gold {
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_ask_sync_gold];
}

//广播有玩家进入
message packetl2c_bc_enter_seat {
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_enter_seat];
	optional msg_seat_info seat_info = 2;
}

//广播有玩家离开
message packetl2c_bc_leave_seat {
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_leave_seat];
	optional int32 player_id = 2;
}

//机器人进入
message packetl2c_robot_enter {
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_robot_enter];
	optional msg_seat_info seat_info = 2;
	optional int32 scene_id = 3;
}

//机器人离开
message packetl2c_robot_leave {
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_robot_leave];
	optional int32 player_id = 2;
}

//广播玩家倍率修改
message packetl2c_bc_change_rate {
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_rate];
	optional int32 player_id = 2;
	optional int32 turret_rate = 3;
}

//广播玩家金币变更(任务,充值等)
message packetl2c_bc_change_attr {
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_attr];
	optional int32 player_id = 2;
	optional int64 change_gold = 3;
	optional int32 change_vip = 4;
	optional int32 change_diamond = 5;
	optional int32 change_ticket = 6;
	optional int32 change_dimensity = 7;
	optional int32 change_goldingot = 8;
	optional int32 change_tombola = 9;
	optional int32 change_legendaryCoin = 10;
	optional int32 change_redpacket = 11;
	optional int32 change_chip = 12;
	optional int32 change_JDchip = 13;
	optional int32 change_playerlv = 14;
	optional int32 change_turretlv = 15;
	optional int32 change_dragonBall = 16;
	optional int32 change_gloryCrystal = 17;
	optional int32 monthCard_time = 18;
	optional int32 goldMonthCard_time = 19;
	optional int32 diamondMonthCard_time = 20;
	optional int32 monthcardremaintime = 21;
	optional int32 goldmonthcardremaintime = 22;
	optional int32 diamondmonthcardremaintime = 23;
	optional int32 weekCard_time = 24;
	optional int32 weekcardremaintime = 25;
	optional int32 reason = 26;
}

message packetl2c_bc_create_fish
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_create_fish];
	optional msg_fish_info fish_info = 2;

	// 创建原因 0默认的鱼  1神灯召唤的黄金鱼
	optional int32 reason = 3;

	// 创建者id
	optional int32 ownerPlayerId = 4;
}

//鱼阵
message packetl2c_bc_create_generator
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_create_generator];
	optional int32 generator_id = 2;
	optional int32 start_id = 3;
	optional int32 route_id = 4 [default = 0];
	optional bool is_red = 5 [default = false];
	optional int32 pos_x = 6;
	optional int32 pos_y = 7;
	optional bool is_flash = 8 [default = false];
}

message ManualFireEx
{
	optional int32 refItemId = 1;

	optional int32 fishId = 2;
}

//请求开炮
message packetc2l_manual_fire {
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_manual_fire];
	optional int32 bullet_id = 2;
	optional int32 bullet_angle = 3;
	optional bool is_multi = 4 [default = false];
	optional bool is_violent = 5 [default = false];
	optional int32 bullet_type = 6 [default = 1];	//1普遍,2普通大招,3火神大招
	optional int32 bullet_rate = 7;
	optional int32 room_rate = 8;
	optional int32 bullet_power = 9;

	optional ManualFireEx exParam = 10;
}

// 请求开炮广播
message packetl2c_bc_manual_fire {
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_manual_fire];
	optional int32 bullet_id = 2;
	optional int32 player_id = 3;
	optional int32 bullet_angle = 4;
	optional int64 curExp = 5;
	optional int32 bullet_type = 6 [default = 1];	//1普遍,2普通大招,3火神大招
	optional bool is_violent = 7 [default = false];
	optional ManualFireEx exParam = 8;
	optional int32 result = 9;
	optional int32 bulletRate = 10;
	optional int32 bulletPower = 11;
	optional int64 gold = 12;
}

//message packetc2l_pre_missile_fire {
//	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_pre_missile_fire];
//}

//message packetl2c_bc_pre_missile_fire {
//	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_pre_missile_fire];
//	optional int32 player_id = 2;
//}

/*
message packetc2l_missile_fire {
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_missile_fire];
	optional int32 bullet_id = 2;
	optional int32 fire_pos_x = 3;
	optional int32 fire_pos_y = 4;
}

// 使用激光结果
message packetl2c_missile_fire_result {
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_missile_fire_result];
	optional int32 bullet_id = 2;
	// 1成功，其他为失败
	optional int32 result = 3;
}*/

//message packetl2c_bc_missile_fire {
//	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_missile_fire];
//	optional int32 bullet_id = 2;
//	optional int32 player_id = 3;
//	optional int32 fire_pos_x = 4;
//	optional int32 fire_pos_y = 5;
//}

//击中鱼
message packetc2l_hit_fish {
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_hit_fish];
	//optional int32 player_id = 2;
	optional int32 bullet_id = 3;
	optional int32 fish_id = 4;
}

//激光击中鱼
message packetc2l_hit_fishs {
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_hit_fishs];
	optional int32 hit_type = 2;		//击中类型,1激光,2火龙珠,3渔网,4冻结,5闪电链
	optional int32 bullet_id = 3;
	repeated int32 fish_ids = 4;
	optional int32 hit_param = 5 [default = 0];			//击中参数
}

message LegindaryCoinGainInfo{
	optional int32 playerId = 1;
	optional int32 count = 2;
}

//鱼死亡
message packetl2c_bc_fish_die {
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_fish_die];
	optional int32 fish_id = 2;
	optional int32 kill_id = 3;
	optional int32 score = 4;
	optional int32 diamond = 5 [default = 0];
	optional int32 ticket = 6 [default = 0];
	optional int32 dimensity = 7 [default = 0];
	optional int32 refItemId = 8 [default = 0];
	optional int32 DragonBall = 9 [default = 0];
	repeated LegindaryCoinGainInfo LegendaryCoin = 10;
	optional int32 point = 11 [default = 0];
	optional int32 addpoint = 12 [default = 0];
	optional int32 qualifyPoint = 13 [default = 0];
	optional ArmedSharkCardTypeInfo dailyTopCardInfo = 14;
	repeated msg_item items = 15; 
	optional int32 fishCfgId = 16;
	optional int32 fishScore = 17;	// 鱼的分数(对于变倍鱼)
}

//通知子弹爆炸
message packetl2c_notify_bullet_explode {
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_notify_bullet_explode];
	optional int32 playerId = 2;
	optional int32 bulletId = 3;
}

//子弹爆炸
message packetl2c_bc_bullet_explode {
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_bullet_explode];
	optional int32 playerId = 2;
	optional int32 bulletId = 3;
	repeated int32 fishIds = 4;
	optional int32 score = 5;
	repeated msg_item items = 6;
}

//火龙珠死亡
message packetl2c_bc_specialfish_die {
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_specialfish_die];
	optional int32 fish_id = 2;
	optional int32 player_id = 3;
	optional int32 bullet_id = 4;
	optional int32 base_score = 5;
	optional int32 add_score = 6 [default = 0];
	optional int32 ticket = 7 [default = 0];
	optional bool getstar = 8 [default = false];
	optional int32 DragonBall = 9 [default = 0];
	optional int32 point = 10 [default = 0];

	repeated msg_item items = 11;

	// 鱼的配置表ID
	optional int32 fishCfgId = 12;
}

//大群鱼死亡
message packetl2c_bc_fishs_die {
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_fishs_die];
	optional int32 player_id = 2;	
	optional int32 die_type = 3;	//死亡类型,1炸弹鱼,2全屏炸弹, 3全屏的弹头
	repeated int32 die_params = 4;	//死亡参数,1.红鱼ID 位置X 位置Y 2,全屏炸弹ID 位置X 位置Y
	optional int32 total_score = 5;
	optional int32 total_diamond = 6 [default = 0];
	optional int32 total_dimensity = 7 [default = 0];
	optional int32 total_ticket = 8 [default = 0];
	optional int32 total_point = 9 [default = 0];

	optional int32 torpedoId = 10 [default = 0];
	optional int32 base_rate = 11;
	optional int32 add_rate = 12 [default = 0];
	optional int32 ticket = 13 [default = 0];
	optional int32 add_point = 14 [default = 0];

	repeated msg_item items = 15;

	// 鱼的配置表ID
	optional int32 fishCfgId = 16;
}

//刷水
message packetl2c_bc_change_scene {
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_scene];
	optional int32 scene_id = 2;
	optional int32 large_fish_id = 3;
}

//场景BOSS通知
message packetl2c_bc_finish_boss_scene {
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_finish_boss_scene];
	optional int32 notify_type = 2;			//通知类型 1,大BOSS死亡:2,大BOSS逃跑:3,小BOSS出现:5,场景BOSS出现
	optional int32 boss_id = 3;			//BOSSID
	optional int64 jackpot = 4;			//场景BOSS奖池
	optional int32 baseGold = 5;		//场景BOSS基础分值
}

//使用道具状态
message packetl2c_bc_using_item {
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_using_item];
	optional int32 item_id = 2;
	optional int32 player_id = 3;
	optional int32 use_time = 4 [default = -1];
}

//移除使用道具状态
message packetl2c_bc_stop_using_item {
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_stop_using_item];
	optional int32 item_id = 2;
	optional int32 player_id = 3;
}

//改变炮台(旧)
message packetl2c_bc_changeturret {
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_changeturret];
	optional int32 turret_id = 2;
	optional int32 player_id = 3;
}

//锁定鱼
message packetc2l_lock_fish {
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_lock_fish];
	optional int32 fish_id = 4;
}

//广播锁定鱼
message packetl2c_bc_lock_fish {
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_lock_fish];
	optional int32 result = 2;
	optional int32 player_id = 3;
	optional int32 fish_id = 4;
}

// 使用弹头锁定鱼
/*message packetc2l_use_torpedo_lock_fish 
{
	optional e_server_msg_type packet_id = 1 [ default = e_mst_c2l_use_torpedo_lock_fish ];

	optional int32 fishId = 2;
}

// 广播 使用弹头锁定鱼
message packetl2c_bc_use_torpedo_lock_fish 
{
	optional e_server_msg_type packet_id = 1 [ default = e_mst_l2c_bc_use_torpedo_lock_fish ];

	optional int32 fishId = 2;

	optional int32 playerId = 3;
}*/

//广播定时
message packetl2c_bc_freeze {
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_freeze];
	repeated int32 fish_ids = 4;
	optional int32 freeze_Time = 2;
	optional bool is_show = 3;
}

//切换背景
message packetl2c_bc_change_scene_bg {
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_scene_bg];
	optional int32 scene_id = 2;
}

//场景倒计时
message packetl2c_bc_scene_time {
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_scene_time];
	optional int32 scene_time = 2;
}

//高级场奖池变化
message packetl2c_bc_change_jackpot {
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_jackpot];
	optional int64 curpool = 2;
}

//击中鱼
message packetl2c_bc_hit_fishs {
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_hit_fishs];
	optional int32 player_id = 2;
	optional int32 hit_type = 3;		//1冰冻，2闪电链
	repeated int32 fish_ids = 4;
	repeated int32 params = 5;
}

//击中鱼
message packetl2c_bc_turret_rotate {
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_turret_rotate];
	optional int32 player_id = 2;	
	optional int32 rotate_angle = 3;
}   

//改变等级
message packetl2c_bc_change_max_power {
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_max_power];
	optional int32 player_id = 2;	
	optional int32 max_power = 3;
}    
   
//星星抽奖
message packetl2c_bc_table_lottery {
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_lottery];
	optional int32 player_id = 2;	
	optional int32 item_id = 3;
	optional int32 item_count = 4;
}   

// 请求降炮
message packetc2l_req_drop_rate
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_drop_rate];
}

// 请求降炮结果
message packetl2c_req_drop_rate_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_drop_rate_result];

	optional int32 id = 2;

	optional int64 curGold = 3;

	// 可领取救济金的倒计时剩余时间 秒
	optional int32 recvBenefitTime = 4;
	// 触发礼包ID
	optional int32 triggerGiftId = 5;
}

// 领取救济金
message packet_c2l_benefits
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_beneifts];

	optional bool double = 2;
}

// 领取救济金结果
message packet_l2c_benefits_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_benefits_result]; 

	optional bool double = 2;

	optional int32 result = 3;
}

// 杀死话费鱼
message packetl2c_bc_table_kill_chipfish 
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_kill_chipfish];
	
	optional int32 playerId = 2;	

	// 抽到的id   
	optional int32 LotteryId = 3;

	// 鱼ID
	optional int32 fishId = 4;
}   

// 杀死转盘鱼
message packetl2c_bc_table_kill_turntablefish 
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_kill_turntablefish];
	
	optional int32 playerId = 2;	

	// 初始金币
	optional int32 gold = 3;

	// 鱼CFGID
	optional int32 fishId = 4;

	// 转盘ID。可能出现多个转盘。竞猜时，传这个ID
	optional int32 turnId = 5;

	// 剩余的时光令牌个数
	optional int32 remainTimeCard = 6;
}   

//杀死黄金鱼
message packetl2c_kill_goldfish
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_kill_goldfish];
	
	// 杀死数量
	optional int32 killcount = 2;

	// 奖池
	optional int32 goldpool = 3;
}

//领取广告奖励
message packetc2l_play_ad_reward {
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_play_ad_reward];
	optional bool double = 2;
}

//领取广告奖励返回
message packetl2c_play_ad_reward_result {
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_play_ad_reward_result];
	optional bool double = 2;
	optional int32 result = 3;
}

//领取红包奖励
message packetc2l_receive_redpacket_reward {
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_redpacket_reward];
}

//领取红包奖励返回
message packetl2c_receive_redpacket_reward_result {
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_redpacket_reward_result];
	optional int32 result = 2;
	optional int32 rewardIndex = 3;
	repeated redEnvlopeInfo redEnvlopeInfos = 4;
}

//触发贝壳鱼
message packetl2c_bc_trigger_mysterous_shell
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_mysterous_shell];
	
	optional int32 playerId = 2;	
} 

//贝壳鱼抽奖
message packetc2l_req_lottery_mysterous_shell
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_lottery_mysterous_shell];

	optional int32 index = 2;
}

message shellLotteryInfo
{
	optional int32 index = 1;
	optional int32 turretRate = 2;
	optional int32 gold = 3;
}

//贝壳鱼结果
message packetl2c_req_lottery_mysterous_shell_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_lottery_mysterous_shell_result];

	optional int32 result = 2;

	optional shellLotteryInfo lotteryInfo = 3;
}

//广播贝壳鱼抽奖结束
message packetl2c_bc_mysterous_shell_lottery_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_mysterous_shell_lottery_result];
	
	optional int32 playerId = 2;

	optional int32 totalGold = 3;
	
	repeated shellLotteryInfo lotteryInfo = 4;
} 

message dice_change_info
{
	optional string nickName = 1;
	optional int32 score = 2;
}

//触发贝壳鱼
message packetl2c_bc_trigger_dice_game
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_dice_game];
	optional int32 playerId = 2;
	optional int32 baseGold = 3;
	repeated dice_change_info changeList = 4;
} 

//贝壳鱼抽奖
message packetc2l_req_lottery_dice_game
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_lottery_dice_game];

	//1大 2小 3放弃
	optional int32 opType = 2;
}

//贝壳鱼结果
message packetl2c_req_lottery_dice_game_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_lottery_dice_game_result];

	optional int32 result = 2;
	//1大 2小 3放弃
	optional int32 opType = 3;

	optional int32 curGold = 4;

	optional int32 resultNum = 5;
}

//广播贝壳鱼抽奖结束
message packetl2c_bc_dice_game_lottery_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_dice_game_lottery_result];
	
	optional int32 playerId = 2;
	optional int32 totalGold = 3;
} 

//触发鲲蛋宝藏
message packetl2c_bc_trigger_egg_treasure
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_egg_treasure];
	optional int32 playerId = 2;
	optional int32 turrerRate = 3;
} 

//鲲蛋宝藏抽奖
message packetc2l_egg_treasure_lottery
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_egg_treasure_lottery];
	optional int32 index = 2;
}

//鲲蛋宝藏结果
message packetl2c_egg_treasure_lottery_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_egg_treasure_lottery_result];

	optional int32 playerId = 2;

	optional int32 result = 3;

	optional int32 index = 4;
	//金币
	optional int32 gold = 5;
	//昆币
	optional int32 coin = 6;
}

// 更改场次倍率
message packetc2l_change_room_rate
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_room_rate ];
	optional int32 rate = 2; 
}

// 更改场次倍率返回
message packetl2c_change_room_rate_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_change_room_rate_result ];
	optional int32 result = 2;
	optional int32 rate = 3;
}

// 更改子弹威力
message packetc2l_change_bullet_power
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_bullet_power];
	optional int32 rate = 2; 
}

// 更改子弹威力返回
message packetl2c_change_bullet_power_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_change_bullet_power_result];
	optional int32 result = 2;
	optional int32 rate = 3;
}

//触发聚宝盆
message packetl2c_bc_trigger_treasure_bowl
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_treasure_bowl];
	optional int32 playerId = 2;
	optional int32 fishId = 3;
	optional int32 turrerRate = 4;
} 

//聚宝盆抽奖
message packetc2l_treasure_bowl_lottery
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_treasure_bowl_lottery];
	optional int32 index = 2;
}

//聚宝盆结果
message packetl2c_treasure_bowl_lottery_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_treasure_bowl_lottery_result];
	optional int32 playerId = 2;
	optional int32 result = 3;
	optional int32 index = 4;
	repeated msg_item items = 6;
}

//触发蛟龙腾飞
message packetl2c_bc_trigger_flood_dragon_fly
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_flood_dragon_fly];
	optional int32 playerId = 2;
} 

//蛟龙腾飞抽奖
message packetc2l_flood_dragon_fly_lottery
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_flood_dragon_fly_lottery];
}

//蛟龙腾飞结果
message packetl2c_flood_dragon_fly_lottery_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_flood_dragon_fly_lottery_result];
	optional int32 playerId = 2;
	optional int32 result = 3;
	optional int32 score = 4;
	optional int32 bulletRate = 5;
	optional int32 points = 6;
	optional int32 addpoints = 7;
}

// 获得道具
message packetl2c_send_item
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_send_item ];
	optional int32 playerId = 2;
	repeated msg_item items = 3; 
}

// 领取明日奖励
message packetc2l_receive_tommorrow_reward
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_tommorrow_reward ];
}

// 领取明日奖励返回
message packetl2c_receive_tommorrow_reward_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_tommorrow_reward_result ];
	optional int32 result = 2;
}
