master_huanxiang
jiahuiwen 2019-02-21 20:26:53 +08:00
commit 85b5bbdde3
3 changed files with 32 additions and 0 deletions

View File

@ -155,4 +155,15 @@ option optimize_for = SPEED;
repeated TeamPokemonInfo teamPokemonInfos = 4; // 异妖id
}
message Pokemoncomonpent{
optional int32 id =1;
optional int32 level =2;
}
message PokemonInfo{
optional int32 id = 1; //异妖id
optional int32 stage =2; //异妖进阶阶数
repeated Pokemoncomonpent pokemoncomonpent =3; //组件信息
}

View File

@ -77,3 +77,16 @@ import "CommonProto.proto";
message GetAllEquipResponse{
repeated Equip equip =1;
}
message GetAllPokemonResponse{
repeated PokemonInfo pokemonInfo =1;
}
message PokenmonUpLevelRequest{//异妖相关 组件放置升级
optional int32 pokemonId =1;//异妖id
optional int32 comonpentId =2; // 组件id
}
message PokemonAdvancedRequest{ //异妖进阶
optional int32 pokemonId = 1; //要进阶异妖的id
}

View File

@ -67,6 +67,9 @@ enum MessageType{
GET_ALL_EQUIP_REQUEST = 16614; //装备
GET_ALL_EQUIP_RESPONSE = 16615;
GET_ALL_POKEMON_REQUEST = 16616; //获取所有异妖
GET_ALL_POKEMON_RESPONSE = 16617;
// H 10700
HERO_RAND_REQQUEST = 10701;
@ -104,6 +107,11 @@ enum MessageType{
// N 11300
// O 11400
// P 11500
POKEMON_COMONPENT_LEVELUP_REQUEST = 11500; //异妖相关 组件放置升级
POKEMON_COMONPENT_LEVELUP_RESPONSE = 11501;
POKEMON_ADVANCED_REQUEST = 11502; //异妖进阶
POKEMON_ADVANCED_RESPONSE = 11503;
// Q 11600
// R 11700
RECONNECT_REQUEST = 11700; //