周卡协议

master_huanxiang
xuexinpeng 2021-10-28 15:05:39 +08:00
parent 4b8c0d895d
commit 57ce524e26
3 changed files with 32 additions and 0 deletions

View File

@ -1145,4 +1145,12 @@ option optimize_for = SPEED;
optional int32 skillId = 1;//技能id
optional int32 skillLv = 2;//技能等级
}
//周卡
message WeekCard{
optional int32 id = 1; //周卡id
optional bool isBuy = 2;
optional int32 leaveGetRewardDays = 3; //还可以领取了几天奖励
}

View File

@ -1344,6 +1344,13 @@ enum MessageType{
// 御剑飞行:信息,奖励,竞猜统一返回
RidingSwardInfoResponse = 3050017;
//周卡
WeekCardInfoRequest = 3050030;
WeekCardInfoResponse = 3050031;
WeekCardRewardRequest = 3050032;
WeekCardRewardResponse = 3050033;
//800000起为global 协议

View File

@ -1043,4 +1043,21 @@ import "CommonProto.proto";
repeated int32 relicIds = 5;//遗物加成id列表
optional int32 round = 6;//回合数,计算加成
}
//周卡
message WeekCardInfoRequest{
}
message WeekCardInfoResponse{
repeated WeekCard allWeekCardInfo = 1;
}
message WeekCardRewardRequest{
optional int32 id = 1; //周卡id
}
message WeekCardRewardResponse{
optional Drop drop = 1;
}