package fish_protocols; import "fish_def.proto"; message RankInfo { // 玩家ID optional int32 playerId = 1; // 昵称 optional string nickName = 2; // 金币 optional int32 gold = 3; // VIP optional int32 vipLevel = 4; optional int32 playerlv = 5; optional int32 headid = 6; optional int32 frameid = 7; }; // 请求鱼雷排行 message packetc2l_req_torpedo_rank { optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_torpedo_rank]; optional int32 torpedoId = 2; } // 请求金币增长排行结果 message packetl2c_req_torpedo_rank_result { optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_torpedo_rank_result]; optional int32 torpedoId = 2; // 排行列表 repeated RankInfo rankList = 3; // 自身的排名, 从0开始计数 optional int32 selfRank = 4; // 自身的鱼雷数 optional int32 selfGold = 5; }