package fish_protocols; import "fish_def.proto"; import "msg_type_def.proto"; import "fish_type_def.proto"; // 龙宫场排行信息 message DragonPalaceRankInfo { optional int32 playerId = 1; optional string nickName = 2; optional int32 gainDimensity = 3; optional int32 headid = 4; optional int32 frameid = 5; optional int32 gender = 6; } // 龙宫界面信息获取 message packetc2l_get_dragon_palace_info { optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_dragon_palace_info ]; // 返回结果中是否含排行榜列表信息 optional bool isGetRankInfo = 2; } message ExchangePriceInfo { // 兑换ID optional int32 exchangeId = 1; // 兑换价格 optional int32 price = 2; } message ExchangeItemInfo { // 兑换ID optional int32 itemid = 1; // 兑换价格 optional int32 itemcount = 2; } // 龙宫界面信息获取结果 message packetl2c_get_dragon_palace_info_result { optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_dragon_palace_info_result ]; // 当前拥有的魔石数量 optional int32 dimensityCount = 2; // 今日已兑换次数 optional int32 exchangeCount = 3; // 今日额外兑换次数 optional int32 exchangeCountEx = 4; // 今日礼包折扣兑换次数 optional int32 discountExchangeCountLv = 5; // 排行榜列表(当前周) repeated DragonPalaceRankInfo curRankList = 6; // 本周排行时,当前周已获得的魔石 optional int32 gainDimensityCurWeek = 7; // 功能buff列表. 可否免费使用锁定,冰冻, 能否折扣 repeated FunBuff selfFunBuffList = 8; repeated ExchangePriceInfo priceInfoList = 9; // 魔石兑换额外增加的次数 optional int32 exchangeAddCount = 10; // 每日魔石总获取 optional int32 dailyDimensity = 11; repeated bool dragonSlayerCheck = 12; } // 获取龙宫排行榜 message packetc2l_get_dragon_palace_rank { optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_dragon_palace_rank ]; // 排行榜类型 0 本周排行榜 1 上周排行 optional int32 rankType = 2; } // 获取龙宫排行榜结果 message packetl2c_get_dragon_palace_rank_result { optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_dragon_palace_rank_result ]; optional int32 rankType = 2; // 排行榜列表 repeated DragonPalaceRankInfo rankList = 3; } // 兑换 message packetc2l_dragon_palace_exchange { optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_dragon_palace_exchange ]; // 兑换ID optional int32 exchangeId = 2; optional int32 exchangeCount = 3; } // 兑换结果 message packetl2c_dragon_palace_exchange_result { optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_dragon_palace_exchange_result ]; // 兑换结果 optional int32 result = 2; repeated ExchangeItemInfo exchangeItems = 3; // 本次兑换信息 //optional ExchangePriceInfo exchangeInfo = 4; repeated ExchangePriceInfo priceInfoList = 4; // 下次兑换价格 optional int32 nextPrice = 5; } // 增加兑换次数 message packetc2l_dragon_add_exchange_count { optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_dragon_add_exchange_count ]; optional int32 addCount = 2; } // 增加兑换次数结果 message packetl2c_dragon_add_exchange_count_result { optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_dragon_add_exchange_count_result ]; optional int32 result = 2; optional int32 addCount = 3; } // 魔石達人兑换 message packetc2l_daily_dimensity_exchange { optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_daily_dimensity_exchange ]; } // 增加兑换次数结果 message packetl2c_daily_dimensity_exchange_result { optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_daily_dimensity_exchange_result ]; optional int32 result = 2; repeated ExchangeItemInfo exchangeInfo = 3; }