2020-11-19 20:35:16 +08:00
|
|
|
|
package rpc.protocols;
|
2019-01-04 15:08:41 +08:00
|
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
2021-05-14 16:06:32 +08:00
|
|
|
|
//获取无尽副本可使用英雄
|
|
|
|
|
message GetEndlessHeroListInfoRequest{
|
|
|
|
|
optional int32 index = 1; //第一次请求索引为0, 第二次:第一次索引+每页的数量
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message GetEndlessHeroListInfoResponse{
|
|
|
|
|
repeated Hero heroList = 1;
|
|
|
|
|
optional bool isSendFinish =2; //是否发送完成
|
2021-05-18 16:58:32 +08:00
|
|
|
|
optional int32 endlessMapId= 3;//无尽副本地图id
|
2021-05-14 16:06:32 +08:00
|
|
|
|
}
|
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-07-16 10:55:15 +08:00
|
|
|
|
optional Drop extraBox = 2 ;//宝箱奖励
|
2021-06-08 16:04:08 +08:00
|
|
|
|
optional int32 mustCount = 3;//剩余必出次数
|
2021-06-30 10:22:38 +08:00
|
|
|
|
repeated randomTypeNum drawTimes = 4;//类型抽卡次数
|
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-09-25 13:43:13 +08:00
|
|
|
|
optional int32 targetLevel = 2 ;// 目标等级
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message UpHeroLevelResponse{
|
|
|
|
|
optional string heroId = 1; //升级或突破的英雄id
|
|
|
|
|
optional int32 targetLevel = 2 ;// 目标等级
|
2019-01-22 16:29:16 +08:00
|
|
|
|
}
|
2021-04-15 17:34:32 +08:00
|
|
|
|
|
|
|
|
|
message ConsumeItem{
|
2022-01-08 13:38:17 +08:00
|
|
|
|
optional int32 type = 1;// 类型,1:英雄,2:万能道具 3:飞升丹
|
2021-04-15 17:34:32 +08:00
|
|
|
|
optional string itemId = 2;//物品id或英雄id
|
|
|
|
|
}
|
2019-01-23 11:04:18 +08:00
|
|
|
|
|
|
|
|
|
message ConsumeMaterial{
|
|
|
|
|
optional int32 position=1; //卡槽位置
|
2021-04-15 17:34:32 +08:00
|
|
|
|
repeated ConsumeItem heroIds=2; //消耗英雄ids
|
2019-01-23 11:04:18 +08:00
|
|
|
|
}
|
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-09-03 15:42:47 +08:00
|
|
|
|
optional int32 type = 3;//1为英雄进阶 2为法宝进阶
|
2019-02-15 17:39:19 +08:00
|
|
|
|
}
|
|
|
|
|
|
2019-09-05 10:18:14 +08:00
|
|
|
|
|
|
|
|
|
message UpQuickSoulEquipRequest{
|
2019-09-05 15:51:07 +08:00
|
|
|
|
optional string equipId = 1; //升级魂印id
|
|
|
|
|
repeated string soulEquipIds= 2; //消耗信息
|
2019-09-05 10:18:14 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message UpSoulEquipResponse{
|
2019-09-05 15:51:07 +08:00
|
|
|
|
optional string equipId = 1; //升级魂印id
|
|
|
|
|
optional int32 leve =2;//经验
|
|
|
|
|
optional int32 exp =3;//等级
|
|
|
|
|
repeated string soulEquipIds= 4; //消耗信息
|
2019-09-05 10:18:14 +08:00
|
|
|
|
}
|
2019-02-15 17:39:19 +08:00
|
|
|
|
|
2019-01-25 17:23:34 +08:00
|
|
|
|
message EquipWearRequest{
|
|
|
|
|
optional string heroId =1 ; //所穿英雄id
|
2019-04-02 14:34:44 +08:00
|
|
|
|
repeated string equipId =2 ; //装备id
|
2020-04-24 11:04:29 +08:00
|
|
|
|
optional int32 type = 3;//1、装备 ;2、宝器
|
2019-01-25 17:23:34 +08:00
|
|
|
|
}
|
2019-09-05 10:18:14 +08:00
|
|
|
|
|
2019-09-07 12:55:58 +08:00
|
|
|
|
message SoulEquipPos{
|
2020-04-07 14:55:44 +08:00
|
|
|
|
optional int32 equipId =1 ; //装备id
|
2019-09-07 12:55:58 +08:00
|
|
|
|
optional int32 position= 2; //卡槽位置
|
|
|
|
|
}
|
2019-09-05 10:18:14 +08:00
|
|
|
|
|
2020-04-09 20:37:14 +08:00
|
|
|
|
message MergeSoulRequest{
|
|
|
|
|
optional int32 targetId = 1; //目标合成物
|
|
|
|
|
repeated int32 soulId =2; //消耗的魂印
|
|
|
|
|
}
|
|
|
|
|
|
2020-04-10 17:16:35 +08:00
|
|
|
|
message MergeSoulResponse{
|
|
|
|
|
optional Drop drop = 1; //合成物
|
|
|
|
|
}
|
|
|
|
|
|
2020-04-09 20:37:14 +08:00
|
|
|
|
message OptHeroSoul{
|
2019-09-05 10:18:14 +08:00
|
|
|
|
optional string heroId =1 ; //所穿英雄id
|
|
|
|
|
repeated SoulEquipPos soulEquipIds =2 ; //装备id
|
|
|
|
|
}
|
2020-04-09 20:37:14 +08:00
|
|
|
|
|
|
|
|
|
message SoulEquipWearRequest{
|
|
|
|
|
optional OptHeroSoul wearInfo =1;
|
|
|
|
|
optional OptHeroSoul unloadInfo =2;
|
|
|
|
|
}
|
2019-09-05 10:18:14 +08:00
|
|
|
|
message SoulEquipUnLoadWearRequest{
|
|
|
|
|
optional string heroId =1 ; //所穿英雄id
|
|
|
|
|
repeated SoulEquipPos soulEquipIds =2 ; //装备id
|
|
|
|
|
}
|
|
|
|
|
|
2022-04-20 10:29:41 +08:00
|
|
|
|
// 穿戴神印
|
|
|
|
|
message WearGodSealRequest{
|
|
|
|
|
optional int32 type = 1;//0:卸下,1:装备
|
|
|
|
|
optional OptHeroSoul wearInfo = 2;
|
|
|
|
|
}
|
2019-01-25 17:23:34 +08:00
|
|
|
|
|
|
|
|
|
message EquipUnLoadOptRequest{
|
2019-02-19 20:39:41 +08:00
|
|
|
|
optional string heroId = 1;
|
|
|
|
|
repeated string equipIds =2;
|
2020-04-26 14:59:41 +08:00
|
|
|
|
optional int32 type = 3;//1、装备 ;2、宝器
|
2019-09-02 16:26:12 +08:00
|
|
|
|
|
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, 第二次:第一次索引+每页的数量
|
2020-04-24 11:04:29 +08:00
|
|
|
|
optional int32 type = 2;//1、装备 、3魂印(不要在此请求法宝)4、宝器
|
2019-09-02 16:26:12 +08:00
|
|
|
|
|
2019-03-05 10:27:42 +08:00
|
|
|
|
}
|
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
|
|
|
|
|
2020-11-26 15:20:58 +08:00
|
|
|
|
message GetAllPokemonRequest{
|
|
|
|
|
optional int32 start = 1;//从哪开始,每次20个
|
|
|
|
|
}
|
|
|
|
|
|
2021-03-19 15:55:15 +08:00
|
|
|
|
|
2019-02-21 10:22:55 +08:00
|
|
|
|
message GetAllPokemonResponse{
|
|
|
|
|
repeated PokemonInfo pokemonInfo =1;
|
2020-10-20 17:26:28 +08:00
|
|
|
|
repeated TeamPokemonInfo teamPokemonInfos = 2; // 异妖编队
|
2020-10-22 15:42:03 +08:00
|
|
|
|
repeated int32 pokemonGot = 3;//已经获得过的灵兽
|
2021-03-19 15:55:15 +08:00
|
|
|
|
}
|
|
|
|
|
message GetAllPropertyInfoResponse{
|
2021-03-19 18:00:01 +08:00
|
|
|
|
repeated int32 allBookEnabled = 1;//已经激活的羁绊
|
|
|
|
|
repeated int32 equipGot = 2;//已经获得过的魂印
|
2021-10-13 18:12:03 +08:00
|
|
|
|
repeated EquipBookInfo equipList = 3;//已经获得过的装备
|
2020-10-22 15:42:03 +08:00
|
|
|
|
|
2020-10-20 17:26:28 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 替换异妖编队
|
|
|
|
|
message ReplaceTeamPokemonInfoRequest {
|
|
|
|
|
repeated TeamPokemonInfo teamPokemonInfos = 1; // 异妖编队
|
2019-02-21 10:22:55 +08:00
|
|
|
|
}
|
|
|
|
|
|
2020-10-19 17:41:41 +08:00
|
|
|
|
message PokenmonUpLevelRequest{//灵兽升级
|
|
|
|
|
optional string pokemonId =1;//灵兽id
|
|
|
|
|
optional int32 level =2; // 升级到的等级
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message PokenmonUpLevelResponse{
|
|
|
|
|
optional int32 level = 1;
|
2019-02-21 10:22:55 +08:00
|
|
|
|
}
|
|
|
|
|
|
2020-10-21 16:58:14 +08:00
|
|
|
|
message PokemonAdvancedRequest{ //灵兽进阶
|
|
|
|
|
optional string pokemonId = 1; //要进阶的灵兽的id
|
|
|
|
|
repeated string consumePokemonIds = 2;//消耗的材料
|
2019-02-21 10:22:55 +08:00
|
|
|
|
}
|
2020-10-22 11:40:58 +08:00
|
|
|
|
message PokemonBackRequest{ //灵兽涅槃
|
|
|
|
|
optional string pokemonId = 1; //灵兽id
|
|
|
|
|
}
|
|
|
|
|
message PokemonBackResponse{
|
|
|
|
|
optional Drop drop = 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message PokemonFreeRequest{ //灵兽放生
|
2020-10-22 14:46:28 +08:00
|
|
|
|
repeated string pokemonId = 1; //灵兽id
|
|
|
|
|
optional int32 pieceId = 2;//灵兽碎片id 只能传一个
|
|
|
|
|
optional int32 pieceNum = 3;
|
|
|
|
|
|
2020-10-22 11:40:58 +08:00
|
|
|
|
}
|
|
|
|
|
message PokemonFreeResponse{
|
|
|
|
|
optional Drop drop = 1;
|
|
|
|
|
}
|
2020-10-22 15:42:03 +08:00
|
|
|
|
|
2021-03-19 15:55:15 +08:00
|
|
|
|
message AllBookEnableRequest{
|
2020-10-22 15:42:03 +08:00
|
|
|
|
optional int32 bookId = 1;//图鉴id
|
2019-06-12 19:49:10 +08:00
|
|
|
|
}
|
|
|
|
|
|
2019-06-12 20:13:55 +08:00
|
|
|
|
message GetAllRingFireResponse{
|
|
|
|
|
repeated RingFireInfo ringFireInfo =1;
|
|
|
|
|
}
|
2021-03-19 10:27:35 +08:00
|
|
|
|
message PokemonBookEnableResponse{
|
|
|
|
|
optional Drop drop = 1;
|
|
|
|
|
}
|
2019-06-12 20:13:55 +08:00
|
|
|
|
|
2019-09-05 10:18:14 +08:00
|
|
|
|
message SoulRandRequest{
|
|
|
|
|
optional int32 time =1; //次数
|
|
|
|
|
}
|
|
|
|
|
message SoulRandResponse{
|
|
|
|
|
optional Drop drop = 1;//掉落
|
|
|
|
|
optional int32 pos = 2;
|
2019-09-23 16:24:47 +08:00
|
|
|
|
optional int32 time =3; //次数
|
2019-09-05 10:18:14 +08:00
|
|
|
|
}
|
2019-02-25 11:43:10 +08:00
|
|
|
|
|
2019-09-05 10:18:14 +08:00
|
|
|
|
message SoulForceRandRequest{
|
|
|
|
|
}
|
|
|
|
|
message SoulForceRandResponse{
|
2019-09-23 13:58:39 +08:00
|
|
|
|
optional Drop drop = 1;//掉落
|
|
|
|
|
optional int32 pos = 2;
|
2019-09-05 10:18:14 +08:00
|
|
|
|
}
|
2019-10-08 14:17:25 +08:00
|
|
|
|
|
|
|
|
|
message HeroReturnRequest{
|
|
|
|
|
optional string heroId = 1;
|
2021-12-14 16:46:27 +08:00
|
|
|
|
optional int32 type = 2; // 0:神将回归元 1:神将回退
|
2019-10-08 14:17:25 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message HeroReturnResponse{
|
|
|
|
|
optional Drop drop =1;
|
|
|
|
|
}
|
2019-10-08 15:59:06 +08:00
|
|
|
|
|
|
|
|
|
message HeroLockChangeRequest{
|
|
|
|
|
optional string heroId =1;
|
|
|
|
|
optional int32 lockState = 2 ; // 1 上锁 0 :解锁
|
|
|
|
|
}
|
2020-04-02 15:42:08 +08:00
|
|
|
|
|
|
|
|
|
message ComplexEquipRequest{
|
|
|
|
|
optional int32 type = 1;//装备类型
|
|
|
|
|
optional int32 star = 2;//装备星级 0一键合成
|
|
|
|
|
optional int32 num = 3;//合成数量
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message ComplexEquipResponse{
|
2020-07-04 17:56:23 +08:00
|
|
|
|
optional Drop drop = 1;//合成的装备
|
2020-04-02 15:42:08 +08:00
|
|
|
|
}
|
|
|
|
|
|
2020-05-09 05:28:26 +08:00
|
|
|
|
|
|
|
|
|
message ComplexJewelEquipRequest{
|
|
|
|
|
optional int32 type = 1;//宝器类型 灵宝、魂宝
|
|
|
|
|
optional int32 rance = 2;//宝器属性
|
|
|
|
|
optional int32 targetleve = 3;//目标品质 0一键合成
|
|
|
|
|
optional int32 num = 4;//合成数量
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message ComplexJewelEquipResponse{
|
|
|
|
|
repeated string equipIds =1;//消耗的装备
|
|
|
|
|
optional Drop drop = 2;//合成的装备
|
|
|
|
|
}
|
2020-08-10 10:48:51 +08:00
|
|
|
|
|
2020-08-05 15:04:46 +08:00
|
|
|
|
message EspecialEquipBackRequest{
|
2020-08-05 15:03:36 +08:00
|
|
|
|
repeated string heroIdLsit = 1;//法宝归元
|
|
|
|
|
}
|
|
|
|
|
message EspecialEquipBackResponse{
|
|
|
|
|
optional Drop drop = 1;
|
|
|
|
|
}
|
2020-08-16 14:23:08 +08:00
|
|
|
|
|
|
|
|
|
|
2020-08-10 10:48:51 +08:00
|
|
|
|
message SaveHeroChangeRequest{
|
|
|
|
|
optional string heroId = 1; //操作英雄id
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message SaveHeroChangeResponse{
|
2020-08-10 15:20:26 +08:00
|
|
|
|
optional int32 heroTempId = 2; //置换的id
|
2020-08-10 10:48:51 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message CancelHeroChangeRequest{
|
|
|
|
|
optional string heroId = 1; //操作英雄id
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message CancelHeroChangeResponse{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
message DoHeroChangeRequest{
|
|
|
|
|
optional string heroId = 1; //操作英雄id
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message DoHeroChangeResponse{
|
|
|
|
|
optional Drop drop = 1;//掉落
|
|
|
|
|
}
|
2020-10-28 19:54:45 +08:00
|
|
|
|
message GetAllSkinResponse{
|
|
|
|
|
repeated SkinInfo skinInfo = 1;
|
|
|
|
|
}
|
2020-10-31 05:04:41 +08:00
|
|
|
|
message ChangeSkinRequest{
|
|
|
|
|
optional string heroId = 1;
|
|
|
|
|
optional int32 skinId = 2;
|
|
|
|
|
}
|
2020-10-31 09:04:23 +08:00
|
|
|
|
message GetSkinIndication{
|
|
|
|
|
optional SkinInfo skinInfo = 1;//激活皮肤的推送
|
2020-10-31 05:51:16 +08:00
|
|
|
|
}
|
2020-08-10 10:48:51 +08:00
|
|
|
|
|
2020-11-27 10:43:33 +08:00
|
|
|
|
// 开启共鸣格子
|
|
|
|
|
message OpenResonanceRequest {
|
|
|
|
|
optional int32 gridId = 1; // 格子id
|
|
|
|
|
}
|
2020-12-16 10:07:33 +08:00
|
|
|
|
|
2020-11-27 10:43:33 +08:00
|
|
|
|
|
|
|
|
|
// 共鸣
|
|
|
|
|
message ResonanceRequest{
|
|
|
|
|
optional string heroId = 1; // 需要共鸣的神将id
|
|
|
|
|
optional int32 gridId = 2; // 格子id
|
2020-12-16 10:56:00 +08:00
|
|
|
|
optional int32 type = 3; // 1:共鸣 2:卸下共鸣神将 3:卸下鸿蒙使者 4:上阵鸿蒙使者
|
2020-11-27 10:43:33 +08:00
|
|
|
|
}
|
|
|
|
|
message ResonanceResponse{
|
2020-12-04 10:33:04 +08:00
|
|
|
|
optional int32 leftTime = 1; // 如果是卸下,返回倒计时 单位 秒
|
2020-11-27 10:43:33 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 花费妖晶清除共鸣冷却时间
|
|
|
|
|
message CleanResonanceTimeRequest{
|
|
|
|
|
optional int32 gridId = 2; // 格子id
|
2020-12-17 15:02:32 +08:00
|
|
|
|
optional int32 type = 1; // 1:清除共鸣区cd 2:清除鸿蒙使者cd
|
2020-11-27 10:43:33 +08:00
|
|
|
|
}
|
2020-12-21 16:02:45 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 鸿蒙守卫、鸿蒙使者、共鸣信息
|
|
|
|
|
message HongmengHeroInfo{
|
|
|
|
|
optional int32 gridId = 1; // 共鸣格子
|
|
|
|
|
optional string heroId = 2; // 共鸣神将id
|
|
|
|
|
optional int64 time = 3; // 共鸣神将卸下后的冷却时间 单位 秒
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 共鸣加成
|
|
|
|
|
message HongmengAddition{
|
|
|
|
|
optional int32 additionType = 1; // 加成类型 1:等级 2:装备 3:魂宝 4:灵宝 5:法宝
|
|
|
|
|
optional int32 value = 2; // 加成值
|
2020-12-30 16:38:35 +08:00
|
|
|
|
optional int32 heroTid = 3; // 来自哪个英雄,0表示鸿蒙碑,-1未开启,其他英雄id
|
2020-12-21 16:02:45 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 获取鸿蒙阵信息
|
2021-09-19 01:25:52 +08:00
|
|
|
|
message GetHongmengInfoRequest{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
message GetHongmengInfoResponse{
|
|
|
|
|
repeated HongmengHeroInfo hongmengGuards = 1; // 鸿蒙守卫、鸿蒙使者
|
|
|
|
|
repeated HongmengAddition hongmengAdditions = 2; // 共鸣加成
|
|
|
|
|
repeated HongmengHeroInfo hongmengResonacnes = 3; // 共鸣使者
|
|
|
|
|
optional int32 hongmengTabletMax = 4; // 鸿蒙碑等级上限,0:未开启,其他为鸿蒙碑等级
|
|
|
|
|
}
|
2020-12-21 16:02:45 +08:00
|
|
|
|
|
|
|
|
|
// 鸿蒙阵信息推送
|
|
|
|
|
message HongmengInfoIndication{
|
2021-09-19 01:25:52 +08:00
|
|
|
|
repeated HongmengHeroInfo hongmengGuards = 1; // 鸿蒙守卫、鸿蒙使者
|
2020-12-21 16:02:45 +08:00
|
|
|
|
repeated HongmengAddition hongmengAdditions = 2; // 共鸣加成
|
2020-12-26 14:42:08 +08:00
|
|
|
|
repeated HongmengHeroInfo hongmengResonacnes = 3; // 共鸣使者
|
2020-12-28 16:49:14 +08:00
|
|
|
|
optional int32 hongmengTabletMax = 4; // 鸿蒙碑等级上限,0:未开启,其他为鸿蒙碑等级
|
2021-09-19 01:25:52 +08:00
|
|
|
|
}
|
2020-12-30 16:38:35 +08:00
|
|
|
|
|
|
|
|
|
// 鸿蒙碑新手引导推送
|
|
|
|
|
message HongmengSteleNewHandIndication{
|
2021-09-19 01:25:52 +08:00
|
|
|
|
optional int32 state = 1;// 开启鸿蒙碑
|
|
|
|
|
}
|
2021-05-12 18:03:07 +08:00
|
|
|
|
|
|
|
|
|
// 修行玩法 升级
|
|
|
|
|
message UpPracticeLevelRequest{}
|
|
|
|
|
|
2021-05-12 18:35:27 +08:00
|
|
|
|
message UpPracticeLevelResponse{
|
|
|
|
|
optional int32 practiceLevel = 1;//等级
|
|
|
|
|
}
|
2021-10-19 17:49:58 +08:00
|
|
|
|
|
|
|
|
|
// 修行玩法 主角修为等级提升
|
|
|
|
|
message XiuxianLevelUpResponse{
|
|
|
|
|
optional int32 xiuxianLevel = 1;// 主角修为等级
|
2021-05-12 18:35:27 +08:00
|
|
|
|
}
|
2021-05-12 18:03:07 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 修行玩法 替换紫府神印
|
|
|
|
|
message ReplacePurpleMansionSealRequest{
|
|
|
|
|
optional int32 oldSealId = 1;//旧神印id
|
|
|
|
|
optional int32 newSealId = 2;//新神印id
|
|
|
|
|
optional string subId = 3;//附属英雄id
|
|
|
|
|
}
|
|
|
|
|
|
2021-05-13 10:32:00 +08:00
|
|
|
|
message ReplacePrupleMansionSealResponse{
|
2021-05-12 18:03:07 +08:00
|
|
|
|
repeated PurpleMansionSeal sealList = 1;
|
2021-06-08 16:04:08 +08:00
|
|
|
|
}
|
2021-05-12 18:03:07 +08:00
|
|
|
|
|
2021-05-14 16:46:14 +08:00
|
|
|
|
// 推送神印信息
|
|
|
|
|
message PurpleMansionSealIndication{
|
|
|
|
|
repeated PurpleMansionSeal sealList = 1;
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-29 11:08:11 +08:00
|
|
|
|
|
|
|
|
|
// 心愿抽卡
|
|
|
|
|
message wishDrawCardIndication{
|
|
|
|
|
repeated wishDrawCardInfo infoList = 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message choiceWishHeroRequest{
|
|
|
|
|
repeated wishDrawCardInfo infoList = 1;//不用status
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message choiceWishHeroResponse{
|
|
|
|
|
repeated wishDrawCardInfo infoList = 1;
|
2021-07-21 16:48:30 +08:00
|
|
|
|
optional int32 serverOpenTime = 2;//开服时间
|
|
|
|
|
repeated int32 heroList = 3;//当天开启的英雄列表
|
2021-06-29 11:08:11 +08:00
|
|
|
|
}
|
2021-07-13 17:05:09 +08:00
|
|
|
|
|
2021-07-14 16:06:48 +08:00
|
|
|
|
|
2021-07-13 17:05:09 +08:00
|
|
|
|
// 乾坤宝盒-许愿魂印
|
|
|
|
|
message beautyBagCardIndication{
|
|
|
|
|
repeated beautyBagCardInfo infoList = 1;
|
|
|
|
|
}
|
|
|
|
|
|
2021-07-14 16:06:48 +08:00
|
|
|
|
message beautyBagWishEquipRequest{
|
2021-07-13 17:05:09 +08:00
|
|
|
|
repeated beautyBagCardInfo infoList = 1;
|
|
|
|
|
}
|
|
|
|
|
|
2021-07-14 16:06:48 +08:00
|
|
|
|
message beautyBagWishEquipResponse{
|
2021-07-13 17:05:09 +08:00
|
|
|
|
repeated beautyBagCardInfo infoList = 1;
|
|
|
|
|
|
|
|
|
|
}
|
2021-09-14 13:52:25 +08:00
|
|
|
|
|
|
|
|
|
//四象心法强化协议
|
|
|
|
|
message SixiangUpRequest{
|
|
|
|
|
optional int32 professionId = 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message SixiangUpResponse{
|
|
|
|
|
repeated SixiangxinfaPropertyInfo infoList = 1;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//四象心法进阶协议
|
|
|
|
|
message SixiangUpStarRequest{
|
|
|
|
|
optional int32 professionId = 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message SixiangUpStarResponse{
|
|
|
|
|
optional int32 starLv = 1;
|
|
|
|
|
repeated SixiangxinfaPropertyInfo infoList = 2;
|
|
|
|
|
|
|
|
|
|
}
|
2021-09-23 10:06:50 +08:00
|
|
|
|
|
2021-09-24 13:47:40 +08:00
|
|
|
|
|
2021-09-23 10:06:50 +08:00
|
|
|
|
//获取好感度数据协议
|
|
|
|
|
message GetLikableDataResponse{
|
|
|
|
|
repeated LikableInfo infoList = 1;
|
2021-09-24 13:47:40 +08:00
|
|
|
|
optional int32 likableRemainTime = 2;//好感度剩余捐赠次数
|
2021-09-23 10:06:50 +08:00
|
|
|
|
}
|
|
|
|
|
|
2021-09-14 13:52:25 +08:00
|
|
|
|
|
2021-09-22 17:10:37 +08:00
|
|
|
|
//好感度提升协议
|
|
|
|
|
message HeroUpLikableRequest{
|
|
|
|
|
optional int32 heroStaticId = 1;//英雄静态id
|
|
|
|
|
optional int32 itemId = 2;//消耗道具id
|
|
|
|
|
optional int32 itemNum = 3;//消耗道具数量
|
|
|
|
|
}
|
|
|
|
|
|
2021-10-14 14:56:28 +08:00
|
|
|
|
///装备图鉴数据推送
|
|
|
|
|
message EquipBookIndication{
|
|
|
|
|
repeated EquipBookInfo changeEquipList = 1;//装备图鉴修改数据(推的是当前数量)
|
|
|
|
|
}
|
2021-09-22 17:10:37 +08:00
|
|
|
|
|
2021-10-13 18:12:39 +08:00
|
|
|
|
//英雄神魂绑定协议
|
|
|
|
|
message HeroGodSoulBindRequest{
|
|
|
|
|
optional string heroId = 1;//当前神魂升级神将
|
|
|
|
|
optional int32 godSoulLv = 2;//神魂等级
|
|
|
|
|
repeated string bindHeros=3;//被绑定神将
|
|
|
|
|
}
|
2021-07-13 17:05:09 +08:00
|
|
|
|
|
2021-10-19 10:00:40 +08:00
|
|
|
|
//修行技能升级
|
|
|
|
|
message PracticeSkillUpRequest{
|
|
|
|
|
optional int32 skillId = 1;
|
|
|
|
|
}
|
|
|
|
|
|
2021-11-15 14:04:39 +08:00
|
|
|
|
//法宝之魂升级协议
|
|
|
|
|
message FaBaoSoulUpLvRequest{
|
|
|
|
|
optional int32 id = 1;
|
|
|
|
|
optional int32 level = 2;
|
|
|
|
|
}
|
|
|
|
|
|
2021-07-13 17:05:09 +08:00
|
|
|
|
|
2021-11-16 16:08:03 +08:00
|
|
|
|
// 身外化身
|
|
|
|
|
message GetTransformationRequest{
|
|
|
|
|
}
|
2021-07-13 17:05:09 +08:00
|
|
|
|
|
2021-11-16 16:08:03 +08:00
|
|
|
|
message GetTransformationResponse{
|
|
|
|
|
repeated TransformationCardInfo list = 1;//化身列表信息
|
|
|
|
|
}
|
2021-07-13 17:05:09 +08:00
|
|
|
|
|
2021-11-16 16:08:03 +08:00
|
|
|
|
message UpOrDownTransformationRequest{
|
|
|
|
|
optional int32 id = 1;//变身卡id
|
|
|
|
|
optional int32 index = 2;//位置
|
|
|
|
|
}
|
2022-04-21 11:54:34 +08:00
|
|
|
|
//身外化身升级 升星
|
|
|
|
|
message TransformationUpGradeRequest{
|
|
|
|
|
optional int32 type = 1;//1:升级 1:升星
|
|
|
|
|
optional int32 id = 2;//变身卡id
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message TransformationUpGradeResponse{
|
|
|
|
|
optional TransformationCardInfo info = 1;//化身信息
|
|
|
|
|
}
|
2021-12-07 09:34:32 +08:00
|
|
|
|
|
|
|
|
|
//命石合成升级
|
|
|
|
|
message LifeStoneUpRequest{
|
|
|
|
|
optional int32 type = 1;//操作类型 1:批量合成 2:一键合成 3:命石单个合成 4:快速合成
|
|
|
|
|
optional int32 gridId = 2;//当前选择命格id 这个值大于0说明在命格界面操作 否则是在背包操作
|
|
|
|
|
optional int32 gridIndex = 3;//当前命格内索引
|
|
|
|
|
optional int32 curGemId = 4;//当前选择命石id
|
2021-12-07 15:53:17 +08:00
|
|
|
|
optional int32 selectNum = 5;//批量时选择消耗数量
|
2021-12-07 09:34:32 +08:00
|
|
|
|
}
|
|
|
|
|
|
2021-12-07 13:18:46 +08:00
|
|
|
|
//当前命石已装备的情况返回命格数据
|
|
|
|
|
message LifeStoneUpResponse{
|
2021-12-07 14:33:38 +08:00
|
|
|
|
optional LifeGridInfo lifeGridInfo = 1;//命格信息
|
2021-12-08 16:26:45 +08:00
|
|
|
|
optional Drop drop = 2;//合成掉落
|
2021-12-07 13:18:46 +08:00
|
|
|
|
}
|
2021-12-07 09:34:32 +08:00
|
|
|
|
|
|
|
|
|
//命格穿戴/卸下
|
|
|
|
|
message LifeGridChangeRequest{
|
|
|
|
|
optional int32 type = 1;//操作类型 1:穿戴 2:卸下
|
|
|
|
|
optional int32 position = 2;//命格id
|
|
|
|
|
optional int32 index = 3;//命格里格子索引
|
|
|
|
|
optional int32 lifeStoneId = 4;//当前选择命石道具id
|
|
|
|
|
}
|
2021-12-07 13:18:46 +08:00
|
|
|
|
|
|
|
|
|
//返回命格数据
|
|
|
|
|
message LifeGridChangeResponse{
|
2021-12-07 14:33:38 +08:00
|
|
|
|
optional LifeGridInfo lifeGridInfo = 1;//命格信息
|
2021-12-07 13:18:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
2022-03-17 17:35:15 +08:00
|
|
|
|
//神魔阵营选择职业协议
|
|
|
|
|
message GodDevilHeroSelectPropRequest{
|
2022-03-17 17:47:56 +08:00
|
|
|
|
optional string heroId = 1; // 神将id
|
|
|
|
|
optional int32 propId = 2; // 阵营id (对应HeroConfig表PropertyName字段)
|
2022-03-17 17:35:15 +08:00
|
|
|
|
}
|
|
|
|
|
|
2021-12-07 13:18:46 +08:00
|
|
|
|
|
2021-05-12 18:03:07 +08:00
|
|
|
|
|