| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- //
- // MOEffect.h
- //
- // Created by SuperCabbage on 2023/11/24
- // Copyright (c) 2023 __MyCompanyName__. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- @class MOAttributes;
- @interface MOEffect : NSObject <NSCoding, NSCopying>
- @property (nonatomic, strong) NSString *path;
- @property (nonatomic, assign) double code;
- @property (nonatomic, strong) NSString *source;
- @property (nonatomic, strong) NSString *name;
- @property (nonatomic, assign) double duration;
- @property (nonatomic, strong) NSString *id;
- /** 特效类型(0=无动效,1=SVGA,2=第三方绑定动效,3=动态WEBP,4=VAP 5=AR) */
- @property (nonatomic, assign) double effectType;
- //道具商店
- @property (nonatomic, assign) BOOL animation;
- @property (nonatomic, strong) NSString *image;
- @property (nonatomic, strong) NSString *resFile;
- @property (nonatomic, strong) NSString *effectFile;
- @property (nonatomic, assign) BOOL lock;//礼物皮肤 - 是否锁定
- @property (nonatomic, assign) BOOL isSelect;//是否选中
- @property (nonatomic, strong) MOAttributes *attributes;//尺寸
- + (instancetype)modelObjectWithDictionary:(NSDictionary *)dict;
- - (instancetype)initWithDictionary:(NSDictionary *)dict;
- - (NSDictionary *)dictionaryRepresentation;
- @end
|