miduo_protocol/protos/HeroInfoProto.proto

77 lines
1.5 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 TeamPosInfo TeamPosInfo =1;
}
message GetAllTeamPosResponse{
repeated TeamPosInfo TeamPosInfo =1;
}
message UpHeroLevelRequest{
optional string heroId = 1; //升级或突破的英雄id
}
message ConsumeMaterial{
optional int32 position=1; //卡槽位置
repeated string heroIds=2; //消耗英雄ids
}
message UpHeroStarRequest{
optional string heroId = 1; //升星的英雄id
repeated ConsumeMaterial consumeMaterials = 2; //消耗英雄组信息
}
message EquipWearRequest{
optional string heroId =1 ; //所穿英雄id
optional string equipId =2 ; //装备id
}
message EquipUnLoadOptRequest{
optional int32 type =1 ; //操作类型 0 脱下指定装备 1 全部脱下
optional string heroId = 2;
optional string equipId =3;
}
message HeroComposeRequest{
optional Item item = 1; //合成英雄需要用的碎片,和合成英雄的个数
}
message HeroComposeResponse{
optional Drop drop = 1;
}