更新协议

This commit is contained in:
hahwu 2024-11-26 17:18:44 +08:00
parent e57437bc38
commit f9f26dd049
2 changed files with 53 additions and 3 deletions

View File

@ -1053,6 +1053,29 @@ message ResChampshipRankReward{
string Msg = 2;
}
message ReqChampshipRank{}
message ResChampshipRank{
map<int32, ResPlayerRank> RankList = 1; // 榜单数据
int32 MyRank = 2; // 我的排行
float MyScore = 3; //我的积分
}
message ReqChampshipPreRank{}
message ResChampshipPreRank{
map<int32, ResPlayerRank> RankList = 1; // 榜单数据
int32 MyRank = 2; // 我的排行
float MyScore = 3; //我的积分
}
message ResPlayerRank{
int32 Uid = 1;
string Name = 2;
int32 Face = 3;
int32 Avatar = 4;
int32 Level = 5;
float score = 6;
}
```
## 排行榜
@ -1068,11 +1091,16 @@ message ResRank{
int32 Type = 1; // 榜单类型
map<int32, ResPlayerSimple> RankList = 2; // 榜单数据
int32 MyRank = 3; // 我的排行
float MyScore = 4; //我的积分
}
// 请求昨日锦标赛榜单
// 请求锦标赛榜单
message ReqChampshipRank{}
message ResChampshipRank{
map<int32, ResPlayerSimple> RankList = 1; // 榜单数据
int32 MyRank = 2; // 我的排行
float MyScore = 3; //我的积分
}
```
## 活动类

View File

@ -2821,6 +2821,15 @@ message ResPlayerSimple{
string Facebook = 9;
}
message ResPlayerRank{
int32 Uid = 1;
string Name = 2;
int32 Face = 3;
int32 Avatar = 4;
int32 Level = 5;
float score = 6;
}
message ResFriendLog{
int32 Uid = 1;
string Name = 2;
@ -3119,13 +3128,26 @@ message ResChampshipReward{
RES_CODE Code = 1;
string Msg = 2;
}
message ReqChampshipRankReward{}
message ResChampshipRankReward{
RES_CODE Code = 1;
string Msg = 2;
}
message ReqChampshipRank{}
message ResChampshipRank{
map<int32, ResPlayerRank> RankList = 1; //
int32 MyRank = 2; //
float MyScore = 3; //
}
message ReqChampshipPreRank{}
message ResChampshipPreRank{
map<int32, ResPlayerRank> RankList = 1; //
int32 MyRank = 2; //
float MyScore = 3; //
}
message ResNotifyCard{
map<int32, int32> Card = 1; //
map<int32, int32> Master = 2; //