miduo_protocol/protos/HeroInfoProto.proto

98 lines
2.1 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-03-05 10:27:42 +08:00
optional int32 index = 1; //第一次请求索引为0, 第二次:第一次索引+每页的数量
2019-01-04 15:08:41 +08:00
}
2019-01-18 12:05:10 +08:00
message GetHeroListInfoResponse{
2019-01-17 19:09:23 +08:00
repeated Hero heroList = 1;
2019-03-05 10:27:42 +08:00
optional bool isSendFinish =2; //是否发送完成
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{
2019-03-02 10:56:05 +08:00
optional Drop drop =1 ;
2019-01-18 16:00:26 +08:00
}
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{
2019-02-19 20:39:41 +08:00
optional string heroId = 1;
repeated string equipIds =2;
2019-01-25 17:23:34 +08:00
}
2019-01-28 17:51:14 +08:00
message HeroComposeRequest{
optional Item item = 1; //合成英雄需要用的碎片,和合成英雄的个数
}
message HeroComposeResponse{
optional Drop drop = 1;
}
2019-03-05 10:27:42 +08:00
message GetAllEquipRequest{
optional int32 index = 1; //第一次请求索引为0, 第二次:第一次索引+每页的数量
}
2019-02-18 18:22:00 +08:00
message GetAllEquipResponse{
repeated Equip equip =1;
2019-03-05 10:27:42 +08:00
optional bool isSendFinish =2; //是否发送完成
2019-02-18 18:22:00 +08:00
}
2019-02-21 10:22:55 +08:00
message GetAllPokemonResponse{
repeated PokemonInfo pokemonInfo =1;
}
message PokenmonUpLevelRequest{//异妖相关 组件放置升级
optional int32 pokemonId =1;//异妖id
optional int32 comonpentId =2; // 组件id
}
message PokemonAdvancedRequest{ //异妖进阶
optional int32 pokemonId = 1; //要进阶异妖的id
}
2019-02-25 10:18:28 +08:00
2019-02-25 11:43:10 +08:00