123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- import "client2world_msg_type.proto";
- import "msg_type_def.proto";
- import "msg_info_def.proto";
- package client2world_protocols;
- message RankInfo
- {
- // 玩家ID
- optional int32 playerId = 1;
- // 昵称
- optional string nickName = 2;
- // 金币
- optional int64 gold = 3;
- // VIP
- optional int32 vipLevel = 4;
- optional int32 playerlv = 5;
- optional int32 headid = 6;
- optional int32 frameid = 7;
- };
- // 请求金币排行
- message packetc2w_req_coin_rank
- {
- optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_coin_rank];
- }
- // 请求金币排行结果
- message packetw2c_req_coin_rank_result
- {
- optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_coin_rank_result];
- // 排行列表
- repeated RankInfo rankList = 2;
- // 自身的排名, 从0开始计数
- optional int32 selfRank = 3;
- }
- message RechargeInfo
- {
- // 玩家ID
- optional int32 playerId = 1;
- // 昵称
- optional string nickName = 2;
- // 充值金额
- optional int32 rmb = 3;
-
- // VIP
- optional int32 vipLevel = 4;
- };
- // 请求金币排行
- message packetc2w_req_recharge_rank
- {
- optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_recharge_rank];
- optional bool is_yesterday = 2 [default=false];
- }
- // 请求充值排行结果
- message packetw2c_req_recharge_rank_result
- {
- optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_recharge_rank_result];
- // 排行列表
- repeated RechargeInfo rankList = 2;
- // 自身的排名, 从0开始计数
- optional int32 selfRank = 3;
- optional int32 selfrmb = 4;
- optional bool is_yesterday = 5 [default=false];
- }
- // 请求金币增长排行
- message packetc2w_req_coin_growth
- {
- optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_coin_growth];
- }
- // 请求金币增长排行结果
- message packetw2c_req_coin_growth_result
- {
- optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_coin_growth_result];
- // 排行列表
- repeated RankInfo rankList = 2;
- // 自身的排名, 从0开始计数
- optional int32 selfRank = 3;
- // 自身的金币
- optional int64 selfGold = 4;
- }
|