// // GiftReceiveInfoModel.h // YUMI // // Created by YUMI on 2021/11/16. // #import #import "GiftInfoModel.h" #import "WalletInfoModel.h" typedef NS_ENUM(NSInteger, BroadCastLevel) { BroadCastLevel_Normal = 1, BroadCastLevel_Middle = 2, ///最高级 BroadCastLevel_High = 3, }; NS_ASSUME_NONNULL_BEGIN @class GiftValueInfoModel; @interface GiftReceiveUserInfoModel : PIBaseModel ///收礼物的人 @property(nonatomic, strong)NSString *nick; ///收礼物的人的头像 @property(nonatomic, strong)NSString *avatar; ///用户uid @property(nonatomic, assign) NSInteger uid; @end @interface GiftLuckyUserInfo : PIBaseModel @property(nonatomic, copy) NSString *nick; //基础信息 @property(nonatomic, assign) NSInteger uid; @end @interface GiftListsInfo : PIBaseModel @property (nonatomic, assign) NSInteger giftNum; @property (nonatomic, assign) NSInteger prizeLevel; @property (nonatomic, assign) NSInteger giftId; @end // 要多次发送消息 福袋相关的modle单独处理 @interface GiftLuckyBagGiftsInfo : PIBaseModel @property (nonatomic, strong) NSArray *giftList; @property (nonatomic, strong) GiftLuckyUserInfo *user; @end @interface GiftReceiveInfoModel : PIBaseModel @property(nonatomic,copy) NSString *roomTitle; ///目标的uid @property(nonatomic,copy)NSString * targetUid; ///目标的头像 @property (nonatomic,copy) NSString *targetAvatar; ///目标的昵称 @property (nonatomic,copy) NSString *targetNick; @property (nonatomic,strong) NSArray *targetUids; ///礼物信息 @property (nonatomic,strong) GiftInfoModel *gift; ///礼物信息 @property (nonatomic,strong) GiftInfoModel *giftInfo; ///送礼物的人uid @property(nonatomic, assign)NSString * uid; ///礼物的id @property (nonatomic,copy) NSString *giftId; ///送礼物的人 @property(nonatomic, strong)NSString *nick; ///送礼物的人的头像 @property(nonatomic, strong)NSString *avatar; ///送礼物的个数 @property (assign, nonatomic) NSInteger giftNum; ///礼物价格 @property(nonatomic,assign) NSInteger giftGolds; ///礼物名字 @property (nonatomic,strong)NSString *giftName; ///动效url @property (copy,nonatomic) NSString *vggUrl; ///vap动效url @property (nonatomic, copy) NSString *viewUrl; ///福袋svagUrl @property (nonatomic, copy)NSString *luckyGiftSvgaUrl; ///非全麦 多人送礼时 @property (nonatomic,strong) NSArray *targetUsers; ///福袋礼物需要展示的vg动画 @property (nonatomic,strong) NSArray *displayGift; ///福袋随机获取的礼物 @property (nonatomic,strong) NSArray *luckyBagGifts; ///多人接收到的具体福袋礼物 是对luckyBagGifts的分离 要多次发送消息使用 @property (nonatomic,strong) GiftLuckyBagGiftsInfo* luckyGiftList; ///礼物来源 @property (nonatomic,assign) GiftSourceType sourceType; ///房间送礼物的类型 @property (nonatomic,assign) RoomSendGiftType roomSendGiftType; ///礼物值信息 @property (nonatomic, strong) NSArray *giftValueVos; ///是否是背包礼物 @property (nonatomic,assign) BOOL isLuckyBagGift; ///是不是全麦 @property (nonatomic,assign) BOOL isBatch; @property (nonatomic,assign) BOOL isComboBatch; ///播放哪个动画 @property (nonatomic, assign) BOOL isShowAnimation; ///礼物的地址 @property (nonatomic,copy) NSString *giftUrl; ///是否可跳转房间 @property (nonatomic,assign) BOOL isSkipRoom; ///全服礼物通知等级编号 @property (nonatomic,assign) BroadCastLevel levelNum; ///停留的时间 @property (nonatomic,assign) CGFloat notifyStaySecond; ///接收者的头像 @property (nonatomic,copy) NSString *recvUserAvatar; ///接收者的昵称 @property (nonatomic,copy) NSString *recvUserNick; ///发送者的头像 @property (nonatomic, copy) NSString *sendUserAvatar; ///发送者的昵称 @property (nonatomic, copy) NSString *sendUserNick; ///跳转的房间的uid @property (nonatomic,assign) NSInteger roomUid; ///平台id @property (nonatomic,copy) NSString *roomErbanNo; ///是否年度飘屏 @property (nonatomic, assign) BOOL ceremonyGift; ///是否是房间外飘屏 @property(nonatomic,assign) BOOL isHomeShow; @property(nonatomic,strong)WalletInfoModel * userPurse; @property (nonatomic, strong) i18nGiftNameMap *i18nGiftNameMap; @property (nonatomic, assign) NSInteger comboCount; @property (nonatomic, assign) NSInteger receiveGiftNumberUser; - (NSInteger)receiveUserCount; @end NS_ASSUME_NONNULL_END