package fish_protocols;

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

// 圣兽场排行信息
message MythicalRankInfo
{
	optional int32 playerId = 1;
	optional string nickName = 2;
	optional int32 rank = 3;
	optional int32 frameID = 4;
	optional int32 headId = 5;
	optional int32 zhuQuePoints = 6;
	optional int32 baiHuPoints = 7;
	optional int32 caiShenPoints = 8;
	optional int32 totalPoints = 9;
}

// 鲲币变化信息
message DropGoldHistory
{
	optional string nickName = 1;
	optional int32 fishId = 2;
	optional int32 bulletRate = 3;
	optional int32 gold = 4;
	optional int32 eventId = 5;
	optional int32 goldRate = 6;
}

// 圣兽场信息获取
message packetc2l_get_mythical_palace_info
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_mythical_palace_info ];
}

// 圣兽场信息获取结果
message packetl2c_get_mythical_palace_info_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_mythical_palace_info_result ];
	optional int32 result = 2; 
	optional int32 zhuQuePoints = 3;
	optional int32 baiHuPoints = 4;
	optional int32 caiShenPoints = 5;
	optional int32 totalPoints = 6;
	optional int32 receivedPointsAwardCount = 7;
	repeated MythicalRankInfo curRankList = 8;
	repeated DropGoldHistory changeList = 9;
	repeated int32 thresholdValue = 10;
	optional int32 myrank = 11;
}

//广播事件触发
message packetl2c_bc_trigger_mythical_palace_event
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_mythical_palace_event ];
	optional int32 playerId = 2;		//玩家ID
	optional int32 eventId = 3;			//事件ID
	optional int32 bossRate = 4;		//朱雀倍数
	optional int32 gold = 5;			//朱雀掉落金币
	optional int32 dropPoints = 6;		//掉落朱雀积分
	optional int32 dropPointsEx = 7;	//额外掉落朱雀积分
}

// 圣兽场积分奖励领取
message packetc2l_receive_mythical_points_award
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_mythical_points_award ];
}

// 圣兽场积分奖励领取结果
message packetl2c_receive_mythical_points_award_result
{
	optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_mythical_points_award_result ];
	optional int32 result = 2; 
	repeated ItemInfo items = 3;
}
