hero level up

master_huanxiang
wangyuan 2019-01-22 16:29:16 +08:00
parent 43110c7ec6
commit d913781948
3 changed files with 12 additions and 0 deletions

View File

@ -5,6 +5,11 @@ option optimize_for = SPEED;
// 嵌套的proto 必须在当前 proto 之前声明
message ErrorResponse{
optional int32 errCode =1 ; // 错误码,默认为0
optional string errMsg =2 ; // 错误信息
}
message Player{
optional int32 uid = 1;
optional string nickName = 2;

View File

@ -37,3 +37,8 @@ import "CommonProto.proto";
repeated string heroIds = 2; //队伍英雄id
repeated int32 pokemonIds = 3; // 异妖id
}
message UpHeroLevelRequest{
optional string heroId = 1; //升级或突破的英雄id
}

View File

@ -73,6 +73,8 @@ enum MessageType{
TEAM_POS_SAVE_REQUEST = 11902; //保存阵容
TEAM_POS_SAVE_RESPONSE = 11903;
// U 12000
UP_HERO_LEVEL_REQUEST = 12001; // 升级或突破
UP_HERO_LEVEL_RESPONSE = 12002;
// V 12100
// W 12200
// X 12300