miduo_protocol/protos/HeroInfoProto.proto

56 lines
1.1 KiB
Protocol Buffer

package com.ljsd.jieling.protocols;
option optimize_for = SPEED;
import "CommonProto.proto";
message GetHeroListInfoRequest{
optional int32 num = 1;
optional string str = 2;
}
message GetHeroListInfoResponse{
repeated Hero heroList = 1;
}
message DrawHeroRequest{
optional int32 type = 1;
optional string str = 2;
}
message DrawHeroResponse{
repeated Hero heroList = 1;
}
message HeroRandRequest{
optional int32 type =1; //抽卡类型
}
message HeroRandResponse{
repeated Hero heroList = 1;
repeated Item itemList = 2;
}
message TeamposSaveRequest{
optional int32 teamId = 1; //第几编队
repeated string heroIds = 2; //队伍英雄id
repeated int32 pokemonIds = 3; // 异妖id
}
message UpHeroLevelRequest{
optional string heroId = 1; //升级或突破的英雄id
}
message UpHeroStarRequest{
optional string heroId = 1; //升星的英雄id
repeated ConsumeMaterial consumeMaterials = 2; //消耗英雄组信息
}
message ConsumeMaterial{
optional int32 position=1; //卡槽位置
repeated string heroIds=2; //消耗英雄ids
}