| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- //
- // MOGiftlist.h
- //
- // Created by SuperCabbage on 2023/11/24
- // Copyright (c) 2023 __MyCompanyName__. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- @class MOGiftInfo,MOEffect;
- @interface MOGiftlist : NSObject <NSCoding, NSCopying>
- @property (nonatomic, strong) MOGiftInfo *giftInfo;
- @property (nonatomic, assign) BOOL lock;
- /** 是否被选中 */
- @property (nonatomic, assign) BOOL isSelect;
- /** 礼物数量 */
- @property (nonatomic, assign) double amount;
- /** 个人信息界面收到的礼物 */
- @property (nonatomic, strong) MOEffect *effect;
- /** 背包 */
- @property (nonatomic, strong) MOEffect *store;
- @property (nonatomic, strong) NSString *id;
- @property (nonatomic, assign) BOOL isBag;
- /** 礼物连接时, 用于记录每500ms间隔点击了多少下按钮 */
- @property (nonatomic, assign) NSInteger tempNum;
- /** 每当一个种类礼物连击的次数, 如果礼物的id变化, 会立马触发Rtm消息发送, 并开始记录下个礼物连接的数量 */
- @property (nonatomic, assign) NSInteger endGiftNum;
- /** V2 改版 */
- @property (nonatomic, assign) double basicExp;// 基础经验值
- @property (nonatomic, assign) double additionExp;// 附加经验值
- @property (nonatomic, strong) NSString *nameingAvatar;//冠名头像
- @property (nonatomic, assign) BOOL newUnlock;//新解锁
- @property (nonatomic, assign) BOOL newGet;//新活动 (背包)
- @property (nonatomic, assign) double expireTime;//过期时间 (背包)
- + (instancetype)modelObjectWithDictionary:(NSDictionary *)dict;
- - (instancetype)initWithDictionary:(NSDictionary *)dict;
- - (NSDictionary *)dictionaryRepresentation;
- @end
|