新周卡协议

master_huanxiang
duhui 2022-05-30 16:28:09 +08:00
parent d9b6847131
commit 794b58cde5
3 changed files with 42 additions and 1 deletions

View File

@ -1276,3 +1276,15 @@ option optimize_for = SPEED;
optional int32 itemId = 1;//id optional int32 itemId = 1;//id
optional int32 costNum = 2;// optional int32 costNum = 2;//
} }
//
message WeekCardInfo{
optional int32 weekcardId = 1;//id
repeated WeekCardDay day = 2;//
}
message WeekCardDay{
optional int32 day = 1;//
optional int32 state = 2;//012
}

View File

@ -1452,9 +1452,14 @@ enum MessageType{
UpGodSealRequest = 3050062; UpGodSealRequest = 3050062;
UpGodSealResponse = 3050063; UpGodSealResponse = 3050063;
//
QueryWeekCardInfoRequest = 3050070;
QueryWeekCardInfoResponse = 3050071;
GetWeekCardRewardRequest = 3050072;
GetWeekCardRewardResponse = 3050073;
WeekCardInfoIndication = 3050074;
//800000global //800000global

View File

@ -1195,4 +1195,28 @@ import "CommonProto.proto";
// //
message ArchitectureUnlockIndication{ message ArchitectureUnlockIndication{
repeated ArchitectureInfo infos = 1; repeated ArchitectureInfo infos = 1;
}
//
message QueryWeekCardInfoRequest{
optional int32 activiteId = 1;
}
message QueryWeekCardInfoResponse{
repeated WeekCardInfo weekcard = 1;//
}
//
message GetWeekCardRewardRequest{
optional int32 weekcardId = 1;
optional int32 day = 2;
}
message GetWeekCardRewardResponse{
optional Drop drop = 1;
}
//
message WeekCardInfoIndication{
optional WeekCardInfo weekcard = 1;//
} }