Merge branch 'dh_dev_ridingsward' into master_test_gn

duhui 2021-10-20 13:45:07 +08:00
commit 06f612d309
3 changed files with 80 additions and 4 deletions

View File

@ -126,4 +126,39 @@ import "CommonProto.proto";
repeated int32 hitList = 1;
}
//
message RidingSwardActivityRequest{
optional int32 activityId = 1;//id
}
message RidingSwardActivityResponse{
optional int32 state = 1;//012
optional int64 time = 2;//
repeated ModelUserInfo modelInfo = 3;//
optional int32 rankId = 4;//
optional int32 betCount = 5;//
}
//
message RidingSwardInfoRequest{
}
//
message RidingSwardRewardRequest{
optional int64 time = 1;//0
optional int32 swardId = 2;//
}
message RidingSwardRewardResponse{
optional Drop drop = 1;//
}
//
message RidingSwardBetRequest{
optional int32 swardId = 1;//
optional int32 costNum = 2;//
}
//
message RidingSwardInfoResponse{
repeated RidingSwardRecord recordLsit = 1;//
repeated RidingSwardBet betList = 2;//
optional RidingSwardLastRank lastRank = 3;//
optional int32 betCount = 4;//
}

View File

@ -1,4 +1,3 @@
package rpc.protocols;
option optimize_for = SPEED;
@ -1098,6 +1097,36 @@ option optimize_for = SPEED;
optional int32 heroStaticid = 1;//id
optional int32 likableNum = 2;//
}
//
message ModelUserInfo{
optional string userName = 1;//
optional int32 practiceLevel = 2;//
optional int32 sex = 3;//
}
//
message RidingSwardLastRank{
optional int64 rankTime = 1;//
optional int32 rankId = 2;//id
}
//
message RidingSwardRecord{
optional int64 time = 1;//
optional int32 result = 2;//
optional int32 winnerId = 3;//
optional int32 costNum = 4;//
optional int32 getNum = 5;//
optional int32 state = 6;//
optional int32 betSwardId = 7;//id
}
//
message RidingSwardBet{
optional int32 swardId = 1;//
optional int32 costNum = 2;//
}
//
message EquipBookInfo{
@ -1105,5 +1134,3 @@ option optimize_for = SPEED;
optional int32 num = 2;//
}

View File

@ -1327,6 +1327,20 @@ enum MessageType{
SevenWorldChallengeResponse = 3050011;
//
RidingSwardActivityRequest = 3050012;
RidingSwardActivityResponse = 3050013;
// -
RidingSwardInfoRequest = 3050014;
//
RidingSwardRewardRequest = 3050015;
RidingSwardRewardResponse = 3050018;
//
RidingSwardBetRequest = 3050016;
//
RidingSwardInfoResponse = 3050017;
//800000global