Files
peko-ios/YuMi/Modules/YMRoom/View/SendGiftView/Model/GiftReceiveInfoModel.h

143 lines
4.4 KiB
C
Raw Normal View History

2023-07-14 18:50:55 +08:00
//
// GiftReceiveInfoModel.h
// YUMI
//
// Created by YUMI on 2021/11/16.
//
#import <Foundation/Foundation.h>
#import "GiftInfoModel.h"
2024-04-03 17:18:44 +08:00
#import "WalletInfoModel.h"
2024-07-11 18:57:34 +08:00
2023-07-14 18:50:55 +08:00
typedef NS_ENUM(NSInteger, BroadCastLevel) {
BroadCastLevel_Normal = 1,
BroadCastLevel_Middle = 2,
///最高级
BroadCastLevel_High = 3,
};
NS_ASSUME_NONNULL_BEGIN
@class GiftValueInfoModel;
2023-11-15 17:25:09 +08:00
@interface GiftReceiveUserInfoModel : PIBaseModel
2023-07-14 18:50:55 +08:00
///收礼物的人
@property(nonatomic, strong)NSString *nick;
///收礼物的人的头像
@property(nonatomic, strong)NSString *avatar;
///用户uid
@property(nonatomic, assign) NSInteger uid;
@end
2023-11-15 17:25:09 +08:00
@interface GiftLuckyUserInfo : PIBaseModel
2023-07-14 18:50:55 +08:00
@property(nonatomic, copy) NSString *nick;
//基础信息
@property(nonatomic, assign) NSInteger uid;
@end
2023-11-15 17:25:09 +08:00
@interface GiftListsInfo : PIBaseModel
2023-07-14 18:50:55 +08:00
@property (nonatomic, assign) NSInteger giftNum;
@property (nonatomic, assign) NSInteger prizeLevel;
@property (nonatomic, assign) NSInteger giftId;
@end
// 要多次发送消息 福袋相关的modle单独处理
2023-11-15 17:25:09 +08:00
@interface GiftLuckyBagGiftsInfo : PIBaseModel
2023-07-14 18:50:55 +08:00
@property (nonatomic, strong) NSArray <GiftListsInfo *> *giftList;
@property (nonatomic, strong) GiftLuckyUserInfo *user;
@end
2023-11-15 17:25:09 +08:00
@interface GiftReceiveInfoModel : PIBaseModel
2023-10-24 12:27:53 +08:00
@property(nonatomic,copy) NSString *roomTitle;
2023-07-14 18:50:55 +08:00
///目标的uid
@property(nonatomic,copy)NSString * targetUid;
///目标的头像
@property (nonatomic,copy) NSString *targetAvatar;
///目标的昵称
@property (nonatomic,copy) NSString *targetNick;
@property (nonatomic,strong) NSArray<NSNumber *> *targetUids;
2023-07-14 18:50:55 +08:00
///礼物信息
@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<GiftReceiveUserInfoModel *> *targetUsers;
///福袋礼物需要展示的vg动画
@property (nonatomic,strong) NSArray<GiftInfoModel *> *displayGift;
///福袋随机获取的礼物
@property (nonatomic,strong) NSArray <GiftLuckyBagGiftsInfo *> *luckyBagGifts;
///多人接收到的具体福袋礼物 是对luckyBagGifts的分离 要多次发送消息使用
@property (nonatomic,strong) GiftLuckyBagGiftsInfo* luckyGiftList;
///礼物来源
@property (nonatomic,assign) GiftSourceType sourceType;
///房间送礼物的类型
@property (nonatomic,assign) RoomSendGiftType roomSendGiftType;
///礼物值信息
@property (nonatomic, strong) NSArray<GiftValueInfoModel *> *giftValueVos;
///是否是背包礼物
@property (nonatomic,assign) BOOL isLuckyBagGift;
///是不是全麦
@property (nonatomic,assign) BOOL isBatch;
2024-09-12 18:49:42 +08:00
@property (nonatomic,assign) BOOL isComboBatch;
2023-07-14 18:50:55 +08:00
///播放哪个动画
@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;
2024-04-03 17:18:44 +08:00
@property(nonatomic,strong)WalletInfoModel * userPurse;
2024-07-11 18:57:34 +08:00
@property (nonatomic, strong) i18nGiftNameMap *i18nGiftNameMap;
@property (nonatomic, assign) NSInteger comboCount;
@property (nonatomic, assign) NSInteger receiveGiftNumberUser;
- (NSInteger)receiveUserCount;
2023-07-14 18:50:55 +08:00
@end
NS_ASSUME_NONNULL_END