引入QGVAPlayer,礼物增加VAP字段
This commit is contained in:
@@ -23,6 +23,12 @@ typedef NS_ENUM(NSUInteger, GiftSourceType) {
|
||||
GiftSourceType_Pack = 2, // 背包礼物
|
||||
};
|
||||
|
||||
///礼物播放类型(0 无, 1 MP4、VAP播放)
|
||||
typedef NS_ENUM(NSUInteger, GiftOtherViewType) {
|
||||
GiftOtherViewTypeNormal = 0,
|
||||
GiftOtherViewTypeMp4 = 1,
|
||||
};
|
||||
|
||||
/**
|
||||
赠送类型 1给主播直接刷礼物,2私聊送个人礼物,3房间内给坑位上的人送礼物,5.公聊大厅给人送礼物
|
||||
|
||||
@@ -79,6 +85,10 @@ typedef NS_ENUM(NSUInteger, RoomSendGiftType) {
|
||||
@property (assign, nonatomic) BOOL roomExclude;
|
||||
///是否支持发广播
|
||||
@property (nonatomic,assign) BOOL isSendMsg;
|
||||
///礼物文件类型 0 其他, 1 mp4
|
||||
@property (nonatomic, assign) GiftOtherViewType otherViewType;
|
||||
///mp4类型特效url
|
||||
@property (nonatomic, copy) NSString *viewUrl;
|
||||
|
||||
/**------------- 礼物背包 ----------------**/
|
||||
///个数
|
||||
|
@@ -64,6 +64,8 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
@property (nonatomic,strong)NSString *giftName;
|
||||
///动效url
|
||||
@property (copy,nonatomic) NSString *vggUrl;
|
||||
///vap动效url
|
||||
@property (nonatomic, copy) NSString *viewUrl;
|
||||
///非全麦 多人送礼时
|
||||
@property (nonatomic,strong) NSArray<GiftReceiveUserInfoModel *> *targetUsers;
|
||||
///福袋礼物需要展示的vg动画
|
||||
|
Reference in New Issue
Block a user