miduo_protocol/protos/HeroInfoProto.proto

25 lines
403 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";
2019-01-18 12:05:10 +08:00
message GetHeroListInfoRequest{
2019-01-04 15:08:41 +08:00
optional int32 num = 1;
optional string str = 2;
}
2019-01-18 12:05:10 +08:00
message GetHeroListInfoResponse{
2019-01-17 19:09:23 +08:00
repeated 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{
2019-01-17 19:09:23 +08:00
repeated Hero heroList = 1;
2019-01-15 14:15:23 +08:00
}