From 8ef5e1fefc5515e97274939dde06a2112c13d952 Mon Sep 17 00:00:00 2001 From: duhui Date: Mon, 27 Mar 2023 16:57:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A5=9E=E5=85=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/MessageTypeProto.proto | 14 ++++++++++---- protos/PlayerInfoProto.proto | 20 +++++++++++++++++--- 2 files changed, 27 insertions(+), 7 deletions(-) diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index a92c066..373ac0a 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -1525,11 +1525,17 @@ enum MessageType{ MAGIC_SOLDIER_LOCATION_REQUEST = 3050213;//更换位置 MAGIC_SOLDIER_LOCATION_RESPONSE = 3050214; - MAGIC_SOLDIER_SPILT_REQUEST = 3050215;//分解 - MAGIC_SOLDIER_SPILT_RESPONSE = 3050216; + MAGIC_SOLDIER_RETURN_REQUEST = 3050215;//涅槃 + MAGIC_SOLDIER_RETURN_RESPONSE = 3050216; - MAGIC_SOLDIER_STRONG_REQUEST = 3050217;//升级,升星 - MAGIC_SOLDIER_STRONG_RESPONSE = 3050218; + MAGIC_SOLDIER_SPILT_REQUEST = 3050217;//神兵分解 + MAGIC_SOLDIER_SPILT_RESPONSE = 3050218; + + MAGIC_SOLDIER_FRAGMENTS_SPILT_REQUEST = 3050219;//神兵碎片分解 + MAGIC_SOLDIER_FRAGMENTS_RESPONSE = 3050220; + + MAGIC_SOLDIER_STRONG_REQUEST = 3050221;//升级,升星 + MAGIC_SOLDIER_STRONG_RESPONSE = 3050222; //==========================================================800000起为global 协议========================================================== diff --git a/protos/PlayerInfoProto.proto b/protos/PlayerInfoProto.proto index 1110d88..4b16dfb 100644 --- a/protos/PlayerInfoProto.proto +++ b/protos/PlayerInfoProto.proto @@ -1304,14 +1304,28 @@ message MagicSoldierLocationRequest{ } message MagicSoldierLocationResponse{ } -//分解/归元 +//涅槃 +message MagicSoldierReturnRequest{ + optional string id = 1;//神兵id +} +message MagicSoldierReturnResponse{ + optional Drop drop = 1; +} +//神兵分解 message MagicSoldierSpiltRequest{ - repeated string id = 1;//神兵id - optional int32 type = 2;//1:分解,2:归元 + repeated string id = 1;//神兵id列表 } message MagicSoldierSpiltResponse{ optional Drop drop = 1; } +//神兵碎片分解 +message magicSoldierFragmentsSpiltRequest{ + repeated int32 itemId = 1;//碎片id + repeated int32 itemNum = 2;//碎片数量 +} +message MagicSoldierFragmentsSpiltResponse{ + optional Drop drop = 1; +} //神兵强化 message MagicSoldierStrongRequest{ optional string id = 1;//神兵id