30 lines
432 B
Protocol Buffer
30 lines
432 B
Protocol Buffer
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{
|
|
repeated Common.Hero heroList = 1;
|
|
}
|
|
|
|
|
|
message DrawHeroRequest{
|
|
optional int32 type = 1;
|
|
optional string str = 2;
|
|
}
|
|
|
|
message DrawHeroResponse{
|
|
repeated Common.Hero heroList = 1;
|
|
}
|
|
|
|
}
|
|
|