miduo_protocol/protos/HeroInfoProto.proto

34 lines
565 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
}
2019-01-18 16:00:26 +08:00
message HeroRandRequest{
optional int32 type =1; //抽卡类型
}
message HeroRandResponse{
repeated Hero heroList = 1;
repeated Item itemList = 2;
}