From 6a85952719ec820b977439c7c40266e9b280bda3 Mon Sep 17 00:00:00 2001 From: grimm <1769111741@qq.com> Date: Mon, 13 Oct 2025 14:30:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E7=A4=BC=E7=89=A9=E5=8D=8F?= =?UTF-8?q?=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/HeroInfoProto.proto | 16 ++++++++++++++++ protos/MessageTypeProto.proto | 7 +++++++ 2 files changed, 23 insertions(+) diff --git a/protos/HeroInfoProto.proto b/protos/HeroInfoProto.proto index b4cc7e9..277fbe4 100644 --- a/protos/HeroInfoProto.proto +++ b/protos/HeroInfoProto.proto @@ -587,3 +587,19 @@ message HeroGetIndication{ optional Drop drop = 1; //奖励 optional bool obtainAgain = 2; // 是否还能领取的标记 true 还能领取 如果保底奖励可以支持重复领取 且符合领取条件则返回true } + + // 礼物 + message GiftEquipWearRequest{ + optional int32 operate = 1;//1:穿,2:脱 + optional string role = 2;//对象,0是主角,其他用英雄唯一id + repeated int32 giftIds = 3;//礼物id列表 + } + + // 礼物装备升星 + message GiftEquipUpStarRequest{ + optional int32 giftId = 1;//礼物 + } + + message GiftEquipUpStarResponse{ + optional Drop drop = 1;//掉落 + } diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index 2d9b94c..f9dc554 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -1925,6 +1925,13 @@ enum MessageType{ HERO_GET_INDICATION = 922021;//获得英雄数据推送 GET_GOOGLE_COMMENT_REWARD = 922022;//领取谷歌评价奖励 + + // 礼物 + GiftEquipWearRequest = 6000007; + GiftEquipWearResponse = 6000008; + // 礼物装备升星 + GiftEquipUpStarRequest = 6000033; + GiftEquipUpStarResponse = 6000034; }