# Conflicts:
#	protos/PlayerInfoProto.proto
master_huanxiang
zhangshanxue 2019-09-25 15:55:33 +08:00
commit bb086b8110
5 changed files with 37 additions and 1 deletions

View File

@ -27,9 +27,16 @@ import "CommonProto.proto";
// 战斗序列帧 14#1#0|14#1#0|14#1#0|...|14#1#0
optional string frames = 2;
optional int32 fightId = 3;
optional int32 type = 4; // 类型 1: 关卡 2:地图 3:精英怪 4:爬塔副本 5:妖兽
optional int32 type = 4; // 类型 1: 关卡 2:地图 3:精英怪 4:爬塔副本 5:妖兽 6: 新关卡
optional int32 dropout = 5 ;// 是否退出 1 :退出
}
message UpdateUserExpIndicaiton{
optional int32 level = 1 ;// 玩家等级
optional int32 exp =2 ; // 玩家经验
}
message FightEndResponse {
//战斗结果
optional int32 result = 1;
@ -50,6 +57,7 @@ import "CommonProto.proto";
// 试炼精气
optional int32 essenceValue = 9;
optional int32 lastXY =10; //失败回退到上一步的位置坐标
optional UpdateUserExpIndicaiton UpdateUserExpIndicaiton = 11;//经验
}
// 快速战斗

View File

@ -44,6 +44,12 @@ import "CommonProto.proto";
message UpHeroLevelRequest{
optional string heroId = 1; //升级或突破的英雄id
optional int32 targetLevel = 2 ;// 目标等级
}
message UpHeroLevelResponse{
optional string heroId = 1; //升级或突破的英雄id
optional int32 targetLevel = 2 ;// 目标等级
}

View File

@ -306,3 +306,7 @@ import "CommonProto.proto";
message EndlessSetTeamIndication{
repeated HeroInfo info = 1;
}
message EndlessMapChange{
optional int32 mapId = 1;
optional int32 worldLevel = 2;
}

View File

@ -178,6 +178,8 @@ enum MessageType{
EXCHANGE_CDK_REQUEST = 10427;//兑换cdkey
EXCHANGE_CDK_RESPONSE = 10428;//兑换cdkey
ENDLESS_MAP_CHANGE_INDICATION = 10429;//无尽地图修改推送
// F 10500
FIGHT_START_REQUEST = 10500; //
@ -459,6 +461,14 @@ enum MessageType{
//出图indication
MAP_OUT_INDICATION = 11235;
MAIN_LEVEL_GET_INFO_REQUEST = 11236;// 获取关卡信息
MAIN_LEVEL_GET_INFO_RESPONSE = 11237;
MAIN_LEVEL_TAKE_STATE_REWARD_REQUEST = 11238; //领取关卡挂机奖励
MAIN_LEVEL_TAKE_STATE_REWARD_RESPONSE = 11239;
// N 11300
NOTIFY_PAY_SUCCESS_INDICATION = 11300 ; // 通知前端充值成功
// O 11400

View File

@ -576,4 +576,12 @@ import "CommonProto.proto";
}
message GetMainLevelInfoResponse{
optional int32 fightId = 1 ; //当前关卡id
optional int32 state = 2 ;// 1 已开启但未通过 2 :已通过 -1:代表等级卡
optional int32 duration = 3;//挂机时长
repeated AdventureBossSimpleInfo adventureBossSimpleInfo =4;
}