miduo_protocol/protos/HeroInfoProto.proto

34 lines
565 B
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;
}