比数字协议新增

master_huanxiang
duhui 2022-07-11 11:11:11 +08:00
parent b3ac450ddd
commit 083f9dcd13
2 changed files with 12 additions and 0 deletions

View File

@ -1474,6 +1474,9 @@ enum MessageType{
COMPARENUM_INFO_REQUEST = 3050086;
COMPARENUM_INFO_RESPONSE = 3050087;
GET_COMPARENUM_INFO_REQUEST = 3050088;
GET_COMPARENUM_INFO_RESPONSE = 3050089;

View File

@ -1254,4 +1254,13 @@ import "CommonProto.proto";
message CompareNumInfoResponse {
optional int32 levelId = 1; // 当前关卡Id
repeated CompareNumLevelInfo levelInfo = 2;
}
message GetCompareNumInfoRequest {
}
message GetCompareNumInfoResponse {
optional int32 levelId = 1; // 比数字小游戏当前关卡Id
optional int32 completeNum = 2; // 比数字小游戏当前章节通关数量
repeated int32 rewardIdArr = 3; // 比数字小游戏存储已领取过的关卡累计奖励 (章节ID * 1000 + 累计关卡数)
}