package fish_protocols;

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

// 巨鲨场排行信息
message ArmedSharkRankInfo
{
	optional int32 playerId = 1;
	optional string nickName = 2;
	optional int32 rank = 3;
	optional int32 headid = 4;
	optional int32 frameid = 5;
	// 最高牌型积分
	optional int32 topScoreByCard = 6;
	// 单次轰炸最高积分
	optional int32 topScoreByBomb = 7;
}

// 巨鲨场今日牌型数据
message ArmedSharkCardTypeInfo
{
	optional int32 cards = 1;

	optional int32 cardType = 2;

	optional int32 basePoints = 3;

	optional int32 exPoints = 4;

	optional int32 giftPoints = 5;

	optional int32 topBombPoints = 6;

	optional int32 count = 7;

}

// 巨鲨场获取牌型历史
message ArmedSharkCardHistory
{
	optional string nickName = 1;

	optional int32 fishid = 2;

	optional int32 cards = 3;

	optional int32 cardtype = 4;

	optional int32 points = 5;

	optional int32 count = 6;
}

message ArmedSharkLotteryHistory
{
	optional string nickName = 1;

	optional int32 keyId = 2;

	optional int32 gold = 3;
}
// 巨鲨界面信息获取
message packetc2l_get_armedshark_palace_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_armedshark_palace_info ];
}

// 巨鲨捕手界面信息获取结果
message packetl2c_get_armedshark_palace_info_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_armedshark_palace_info_result ];
	// 排行榜列表(当前周)
	repeated ArmedSharkRankInfo curRankList = 2;
	// 今日最大牌型
	optional ArmedSharkCardTypeInfo dailyTopCardInfo = 3;
	optional int32 myExcuteCount = 4;
	repeated int32 thresholdValue = 5;
	optional int32 myrank = 6;
}

message packetc2l_get_armedshark_getHistoryList
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_armedshark_getHistoryList ];

	// 1牌型 2抽奖
	optional int32 type = 2;
}

message packetl2c_get_armedshark_getHistoryList_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_armedshark_getHistoryList_result ];

	// 1牌型 2抽奖
	optional int32 type = 2;
	
	// 获取牌型列表
	repeated ArmedSharkCardHistory getCardHistoryList = 3;

	// 抽奖历史纪录
	repeated ArmedSharkLotteryHistory lotteryHistory = 4;
}

//召唤轰炸机
message packetc2l_armedshark_palace_call_bomb_aircraft
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_armedshark_palace_call_bomb_aircraft ];

	// 召唤方式 0能量召唤 1金币召唤
	optional int32 callType = 2;

	// 轰炸机类型 0普通轰炸金 1黄金轰炸机
	optional int32 bombType = 3;

	repeated int32 fishid = 4;
}

//召唤轰炸机结果
message packetl2c_armedshark_palace_call_bomb_aircraft_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_armedshark_palace_call_bomb_aircraft_result ];

	optional int32 result = 2;

	optional int32 callType = 3;

	optional int32 bombType = 4;

	optional int32 playerId = 5;

	repeated int32 fishIds = 6;

	optional int32 points = 7;

	optional int32 giftpoints = 8;

	optional int32 score = 9;
}

//斩立决
message packetc2l_armedshark_palace_execute
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_armedshark_palace_execute ];
}

//斩立决结果
message packetl2c_armedshark_palace_execute_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_armedshark_palace_execute_result ];

	optional int32 result = 2;

	optional int32 playerId = 3;

	repeated int32 fishIds = 4;

	optional int32 score = 5;
}

// 抽奖
message packetc2l_armedshark_palace_lottery
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_armedshark_palace_lottery ];
	optional int32 keyId = 2;
}

// 抽奖结果
message packetl2c_armedshark_palace_lottery_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_armedshark_palace_lottery_result ];
	
	// 兑换结果
	optional int32 result = 2;

	optional int32 keyId = 3;

	optional int32 gold = 4;

	optional int32 curJackpot = 5;
}