feat: 基本完成礼物支持嵌入元素功能

This commit is contained in:
P
2024-11-22 13:47:34 +08:00
parent 9fe30ce255
commit 786f15cae7
9 changed files with 352 additions and 186 deletions

View File

@@ -131,6 +131,9 @@ typedef NS_ENUM(NSUInteger, RoomSendGiftType) {
@property (nonatomic, strong) i18nGiftNameMap *i18nGiftNameMap;
@property(nonatomic, assign) NSInteger showAvatarType; // 是否需要塞头像0-否1-送礼者2-收礼者3-左送右收
@property(nonatomic, assign) BOOL notifyFull; // 该礼物动画是否全房间播放
@end
@interface GiftPanelTabModel : PIBaseModel
@@ -144,6 +147,8 @@ typedef NS_ENUM(NSUInteger, RoomSendGiftType) {
@property (nonatomic, copy) NSArray <GiftInfoModel *> *gifts;
- (GiftType)tabGiftType;
@end

View File

@@ -56,12 +56,12 @@ NS_ASSUME_NONNULL_BEGIN
///目标的昵称
@property (nonatomic,copy) NSString *targetNick;
@property (nonatomic,strong) NSArray<NSNumber *> *targetUids;
///礼物信息
///礼物信息 - 来自礼物 API
@property (nonatomic,strong) GiftInfoModel *gift;
///礼物信息
@property (nonatomic,strong) GiftInfoModel *giftInfo;
///送礼物的人uid
@property(nonatomic, assign)NSString * uid;
@property(nonatomic, assign)NSString *uid;
///礼物的id
@property (nonatomic,copy) NSString *giftId;
///送礼物的人
@@ -135,7 +135,7 @@ NS_ASSUME_NONNULL_BEGIN
@property (nonatomic, assign) NSInteger receiveGiftNumberUser;
@property (nonatomic, assign) NSInteger bgLevel; /// 1,2,3 对应非 VIP 背景456 对应 VIP 背景
@property (nonatomic, assign) NSInteger bgLevel; // 1,2,3 对应非 VIP 背景456 对应 VIP 背景
- (NSInteger)receiveUserCount;