Merge branch 'dh_dev_ridingsward' into master_test_gn
commit
06f612d309
|
|
@ -126,4 +126,39 @@ import "CommonProto.proto";
|
|||
repeated int32 hitList = 1;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// 御剑飞行
|
||||
message RidingSwardActivityRequest{
|
||||
optional int32 activityId = 1;//活动id
|
||||
}
|
||||
message RidingSwardActivityResponse{
|
||||
optional int32 state = 1;//当前状态,0:关闭,1:投注,2:比赛中
|
||||
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;//投注次数
|
||||
}
|
||||
|
|
@ -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;//装备曾经获取过的数量
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
@ -1327,6 +1327,20 @@ enum MessageType{
|
|||
SevenWorldChallengeResponse = 3050011;
|
||||
|
||||
|
||||
// 御剑飞行活动界面
|
||||
RidingSwardActivityRequest = 3050012;
|
||||
RidingSwardActivityResponse = 3050013;
|
||||
|
||||
// 御剑飞行信息-排行、记录、竞猜
|
||||
RidingSwardInfoRequest = 3050014;
|
||||
// 御剑飞行领取奖励
|
||||
RidingSwardRewardRequest = 3050015;
|
||||
RidingSwardRewardResponse = 3050018;
|
||||
// 御剑飞行竞猜
|
||||
RidingSwardBetRequest = 3050016;
|
||||
|
||||
// 御剑飞行:信息,奖励,竞猜统一返回
|
||||
RidingSwardInfoResponse = 3050017;
|
||||
|
||||
|
||||
//800000起为global 协议
|
||||
|
|
|
|||
Loading…
Reference in New Issue