71 lines
2.0 KiB
Objective-C
71 lines
2.0 KiB
Objective-C
//
|
|
// RoomFaceInfoModel.h
|
|
// xplan-ios
|
|
//
|
|
// Created by 冯硕 on 2022/3/9.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
typedef NS_ENUM(NSInteger, FaceDisplayType) {
|
|
FaceDisplayType_OnlyOne = 0,
|
|
FaceDisplayType_Flow = 1,
|
|
FaceDisplayType_OverLay = 2,
|
|
FaceDisplayType_OnlyOneLine = 3,
|
|
};
|
|
|
|
|
|
@class RoomVipFaceInfoModel;
|
|
@interface RoomFaceInfoModel : NSObject
|
|
///表情的id
|
|
@property (nonatomic,assign) NSInteger fid;
|
|
///动画的持续时间 需要除以1000
|
|
@property (nonatomic, assign) NSInteger animDuration;
|
|
///开始
|
|
@property (nonatomic, assign) NSInteger animStartPos;
|
|
///动画有多少张
|
|
@property (nonatomic, assign) NSInteger animEndPos;
|
|
///重复次数
|
|
@property (nonatomic, assign) NSInteger animRepeatCount;
|
|
///结果是否可以重复
|
|
@property (nonatomic,assign) BOOL canResultRepeat;
|
|
///展示的样式
|
|
@property (nonatomic, assign) FaceDisplayType displayType;
|
|
///目前应该只有普通表情
|
|
@property (nonatomic,assign) NSInteger faceType;
|
|
///当前要显示的表情的编号
|
|
@property (nonatomic, assign) NSInteger iconPos;
|
|
///是否是幸运表情
|
|
@property (nonatomic,assign) BOOL isLuckFace;
|
|
///是否是贵族表情
|
|
@property (nonatomic,assign) BOOL isNobleFace;
|
|
///表情的名字
|
|
@property (nonatomic,copy) NSString *name;
|
|
///表情名字的pinyin
|
|
@property (nonatomic,copy) NSString *pinyin;
|
|
///结果的表情的数量
|
|
@property (nonatomic, assign) NSInteger resultCount;
|
|
///结果表情的持续时间
|
|
@property (nonatomic, assign) NSInteger resultDuration;
|
|
///结果表情的结束
|
|
@property (nonatomic, assign) NSInteger resultEndPos;
|
|
///结果表情的开始
|
|
@property (nonatomic, assign) NSInteger resultStartPos;
|
|
///vip
|
|
@property (nonatomic,strong) RoomVipFaceInfoModel *faceVipInfo;
|
|
///本地字段 表情的图片
|
|
@property (nonatomic,strong) UIImage *faceImage;
|
|
@end
|
|
|
|
@interface RoomVipFaceInfoModel : NSObject
|
|
///vip的类型
|
|
@property (nonatomic,copy) NSString *vipIcon;
|
|
///等级
|
|
@property (nonatomic,assign) NSInteger vipLevel;
|
|
///vip的名字
|
|
@property (nonatomic,copy) NSString *vipName;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|