From 3be95fd339ccb01eebb66ce8645595b4bbbdd011 Mon Sep 17 00:00:00 2001 From: "PC-202302260912\\Administrator" <1769111741@qq.com> Date: Thu, 7 Sep 2023 14:09:50 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A4=BC=E7=89=A9=E5=8D=8F=E8=AE=AE1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/HeroInfoProto.proto | 14 ++++++++++++++ protos/MessageTypeProto.proto | 5 +++++ 2 files changed, 19 insertions(+) diff --git a/protos/HeroInfoProto.proto b/protos/HeroInfoProto.proto index 6271708..2511420 100644 --- a/protos/HeroInfoProto.proto +++ b/protos/HeroInfoProto.proto @@ -610,4 +610,18 @@ message HeroChangeRequest{ message HeroChangeResponse{ repeated Hero heros = 1; +} + +// 礼物 +message GiftEquipWearRequest{ + optional int32 operate = 1;//1:穿,2:脱 + repeated int32 giftIds = 2;//礼物id列表 +} + +message GiftEquipInfoRequest{ + optional string role = 1;//0是主角,其他用英雄唯一id +} + +message GiftEquipInfoResponse{ + repeated int32 giftIds = 1;//礼物id列表 } \ No newline at end of file diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index e11be5f..8f11b00 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -1643,6 +1643,11 @@ enum MessageType{ GemNewInfoResponse = 6000005; GemNewInfoIndication = 6000006; + // 礼物 + GiftEquipWearRequest = 6000007; + GiftEquipWearResponse = 6000008; + GiftEquipInfoRequest = 6000009; + GiftEquipInfoResponse = 6000010; }