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; }