十绝阵协议

master_huanxiang
lvxinran 2020-05-09 15:47:44 +08:00
parent 88ab06e134
commit f8bd8b13b4
2 changed files with 33 additions and 2 deletions

View File

@ -428,7 +428,7 @@ import "CommonProto.proto";
}
message GetDeathPathStatusResponse{
optional int32 status = 1;//0未开启;1开启
optional int32 status = 1;//0未开启;1开启;2 领奖阶段
}
message GetDeathPathInfoResponse{
optional int32 overTime = 1;//剩余时间
@ -448,5 +448,27 @@ import "CommonProto.proto";
message CarGrapRecordResponse{
repeated CarGrapRecordItem carChallengeItem =1;
}
message RewardInfo{
optional int32 uid = 1;
optional int32 itemId = 2;
optional int32 itemCount = 3;
optional int32 position = 4;
}
message GetAllDeathPathRewardInfoResponse{
repeated RewardInfo info = 1;
}
message DoRewardDeathPathRequest{
optional int32 position = 1;
}
message DoRewardDeathPathResponse{
optional Drop drop = 1;
}
message DeathPathStatusChangeIndication{
optional int32 status = 1;//0未开启;1开启;2 领奖阶段
}
message DoRewardIndication{
optional RewardInfo info = 1;
}

View File

@ -181,7 +181,16 @@ enum MessageType{
DEATH_PATH_CHALLENGE_REQUEST = 10313;//挑战十绝阵
DEATH_PATH_CHALLENGE_RESPONSE = 10314;
DEATH_PATH_GET_ALL_REWARD_INFO_REQUEST = 10315;//获取所有宝箱信息
DEATH_PATH_GET_ALL_REWARD_INFO_RESPONSE = 10316;
DEATH_PATH_DO_REWARD_REQUEST = 10317;//十绝阵领宝箱
DEATH_PATH_DO_REWARD_RESPONSE = 10318;
DEATH_PATH_STATUS_CHANGE_INDICATION = 10319;//十绝阵阶段信息改变推送
DEATH_PATH_DO_REWARD_INDICATION = 10320;//十绝阵其他玩家领奖励推送
// E 10400
ERROR_CODE_INDICATION = 10400;