miduo_protocol/protos/HeroInfoProto.proto

77 lines
1.5 KiB
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;
}
2019-01-21 17:51:08 +08:00
message TeamposSaveRequest{
2019-02-15 10:24:17 +08:00
optional TeamPosInfo TeamPosInfo =1;
}
message GetAllTeamPosResponse{
repeated TeamPosInfo TeamPosInfo =1;
2019-01-21 17:51:08 +08:00
}
2019-01-22 16:29:16 +08:00
message UpHeroLevelRequest{
optional string heroId = 1; //升级或突破的英雄id
}
2019-01-23 11:04:18 +08:00
message ConsumeMaterial{
optional int32 position=1; //卡槽位置
repeated string heroIds=2; //消耗英雄ids
}
2019-01-25 17:23:34 +08:00
2019-02-15 17:39:19 +08:00
message UpHeroStarRequest{
optional string heroId = 1; //升星的英雄id
repeated ConsumeMaterial consumeMaterials = 2; //消耗英雄组信息
}
2019-01-25 17:23:34 +08:00
message EquipWearRequest{
optional string heroId =1 ; //所穿英雄id
optional string equipId =2 ; //装备id
}
message EquipUnLoadOptRequest{
optional int32 type =1 ; //操作类型 0 脱下指定装备 1 全部脱下
optional string heroId = 2;
optional string equipId =3;
}
2019-01-28 17:51:14 +08:00
message HeroComposeRequest{
optional Item item = 1; //合成英雄需要用的碎片,和合成英雄的个数
}
message HeroComposeResponse{
optional Drop drop = 1;
}