25 lines
403 B
Protocol Buffer
25 lines
403 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;
|
|
}
|