master_huanxiang
gaojie 2019-04-11 17:25:57 +08:00
parent aab529209e
commit 6059e4ce3d
4 changed files with 38 additions and 2 deletions

View File

@ -212,6 +212,18 @@ option optimize_for = SPEED;
optional int32 type = 1;
optional int32 id =2;
}
message LevelDifficultyInfos{
optional int32 areaId = 1;
repeated LevelDifficulty LevelDifficulty = 2;
}
message LevelDifficulty{
optional int32 fightId = 1;
optional int32 state = 2; //2 已开启 3:已打过未通过,=4:已通过
optional int32 num = 3;
optional int32 type = 4; //1:简单 2:中等 3:困难
}

View File

@ -31,6 +31,9 @@ import "CommonProto.proto";
message FightStartRequest {
// 战斗类型(手动,自动)
optional int32 fightType = 1;
optional int32 type = 2; // 类型 1: 关卡
optional int32 fightId = 3;
}
message FightStartResponse {
// 战斗属性
@ -54,4 +57,17 @@ import "CommonProto.proto";
// 更新主线任务
repeated Mission mission = 4;
}
// 扫荡开始
message SweepRightRequest {
optional int32 type = 1; //1 :关卡
optional int32 fightId = 2;
optional int32 num = 3; //扫荡次数
}
message SweepRightResponse {
// 获得的道具
optional Drop Drop = 2;
}

View File

@ -96,3 +96,7 @@ import "CommonProto.proto";
message GetMapAccomplishResponse{
repeated MapAccomplishInfo mapAccomplishInfo= 1; // 地图探索详情
}
message getAllLevelDifficultyInfosResponse{ //关卡信息
repeated LevelDifficultyInfos levelDifficultyInfos = 1;
}

View File

@ -81,8 +81,8 @@ enum MessageType{
GET_ALL_MAP_ACCOMPLISH_REQUEST = 16620 ; //获取地图探索度
GET_ALL_MAP_ACCOMPLISH_RESPONSE = 16621 ;
GET_ALL_LEVE_DIFFICULTT_REQUEST =16622; // 获取关卡信息
GET_ALL_LEVE_DIFFICULTT_RESPONSE = 16623;
// H 10700
HERO_RAND_REQQUEST = 10701;
@ -94,6 +94,7 @@ enum MessageType{
// J 10900
// K 11000
// L 11100
LOGIN_REQUEST = 11100; // 登陆或注册
LOGIN_RESPONSE = 11101;
// M 11200
@ -145,6 +146,9 @@ enum MessageType{
SAVE_NEW_PLAYER_GUIDE_POINT_REQUEST = 11807; //保存新手引导节点
SAVE_NEW_PLAYER_GUIDE_POINT_RESPONSE = 11808;
SWEEP_RIGHT_REQUEST = 11809; // 扫荡
SWEEP_RIGHT_RESPONSE = 11810;
// T 11900
TRIGGER_EVENT_REQUEST = 11900; //
TRIGGER_EVENT_RESPONSE = 11901;