40 lines
735 B
Protocol Buffer
40 lines
735 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;
|
|
}
|
|
|
|
message HeroRandRequest{
|
|
optional int32 type =1; //抽卡类型
|
|
}
|
|
|
|
message HeroRandResponse{
|
|
repeated Hero heroList = 1;
|
|
repeated Item itemList = 2;
|
|
}
|
|
|
|
message TeamposSaveRequest{
|
|
optional int32 teamId = 1; //第几编队
|
|
repeated string heroIds = 2; //队伍英雄id
|
|
repeated int32 pokemonIds = 3; // 异妖id
|
|
}
|