miduo_protocol/protos/HeroInfoProto.proto

30 lines
432 B
Protocol Buffer
Raw Normal View History

2019-01-04 15:08:41 +08:00
package com.ljsd.jieling.protocols;
option optimize_for = SPEED;
import "CommonProto.proto";
message HeroInfo{
message GetHeroInfoRequest{
optional int32 num = 1;
optional string str = 2;
}
message GetHeroInfoResponse{
2019-01-17 17:11:52 +08:00
repeated Common.Hero heroList = 1;
2019-01-04 15:08:41 +08:00
}
2019-01-15 14:15:23 +08:00
message DrawHeroRequest{
optional int32 type = 1;
optional string str = 2;
}
message DrawHeroResponse{
repeated Common.Hero heroList = 1;
}
2019-01-04 15:08:41 +08:00
}