// // ClientDataModel.h // YUMI // // Created by YUMI on 2022/3/7. // #import #import "ClientRedPacketModel.h" #import "AdvertiseModel.h" NS_ASSUME_NONNULL_BEGIN typedef NS_ENUM(NSInteger, FaceLivenessStrategy) { FaceLivenessStrategy_Pass = 0, FaceLivenessStrategy_Force = 1, FaceLivenessStrategy_Guide = 2, }; @interface FaceJson : PIBaseModel @property (nonatomic, assign) NSInteger status; @property (nonatomic, assign) NSInteger id; @property (nonatomic, assign) NSTimeInterval createTime; @property (nonatomic, copy) NSString *json; @property (nonatomic, assign) NSInteger version; @end @interface AppUISetting : PIBaseModel @property (nonatomic, assign) NSInteger settingStatus; @property (nonatomic, copy) NSString *headIcon; @property (nonatomic, copy) NSString *navbar; @property (nonatomic, copy) NSString *backgroundColor; @property (nonatomic, copy) NSString *homeSelectIcon; @property (nonatomic, copy) NSString *homeUnSelectIcon; @property (nonatomic, copy) NSString *gameSelectIcon; @property (nonatomic, copy) NSString *gameUnSelectIcon; @property (nonatomic, copy) NSString *dynamicSelectIcon; @property (nonatomic, copy) NSString *dynamicUnSelectIcon; @property (nonatomic, copy) NSString *msgSelectIcon; @property (nonatomic, copy) NSString *msgUnSelectIcon; @property (nonatomic, copy) NSString *mineSelectIcon; @property (nonatomic, copy) NSString *mineUnSelectIcon; @property (nonatomic, copy) NSString *selectBar; @end @interface ClientDataModel : PIBaseModel @property (nonatomic, strong) AppUISetting *appUiSetting; ///首页tag 配置 @property (nonatomic,strong) NSArray *homeTabList; ///房间表情的数据 @property (nonatomic,copy) NSDictionary *faceInitData; ///是否隐藏房间公告 @property (nonatomic,assign) BOOL hideNoticeVersion; //进入房间拉取N条聊天数据 @property(nonatomic, assign) NSInteger roomMessageCount; ///发现萌新展示等级 @property (nonatomic,assign) NSInteger findNewbieCharmLevel; ///送礼物隐藏座驾动画的值 @property (nonatomic,assign) double hideCarEffectGiftPrice; //航海等级限制 @property (nonatomic, assign) NSInteger linearlyPoolOpenLevel; ///红包配置 @property (nonatomic, strong) ClientRedPacketModel *redEnvelopeConfig; ///启动图 @property (nonatomic,strong) AdvertiseModel *splashVo; ///官方消息Uid列表 @property (nonatomic, strong) NSArray *officialMsgUids; ///官方账号 小秘书 红包消息 @property (nonatomic,strong) NSArray *officialAccountUids; @property(nonatomic,copy) NSDictionary *publicChatRoomIdMap; // 公聊大厅房间 IDs,已不使用该业务逻辑 -> 又要使用了 ///星座礼物顶部是否开启 @property (nonatomic,assign) BOOL twelveStarSwitch; /// 开房是否需要实名 @property (nonatomic,assign) FaceLivenessStrategy certificationType; ///转赠钻石白名单 @property (nonatomic,strong) NSMutableArray *giveDiamondErbanNoList; ///转赠礼物白名单 @property (nonatomic,strong) NSMutableArray *giveGiftErbanNoList; ///每日转赠钻石总额限制 @property (nonatomic,assign) NSInteger giveDiamondDailyNum; ///转赠钻石单笔最大限额 @property (nonatomic,assign) NSInteger giveDiamondOnceLimitNum; ///转赠钻石财富等级 @property (nonatomic,assign) NSInteger giveDiamondExperLevel; ///转赠礼物财富等级 @property (nonatomic,assign) NSInteger giveGiftExperLevel; ///转赠手续费率 @property (nonatomic,assign) double giveDiamondRate; @property (nonatomic, assign) BOOL iosPhoneBind; @property (nonatomic, assign) BOOL openBoxSwitch; @property (nonatomic, assign) NSInteger openBoxSwitchLevelNo; @property (nonatomic, strong) FaceJson *faceJson; @property (nonatomic, assign) NSInteger trtcAppId; @property (nonatomic, copy) NSString *appStoreAuditNoticeVersion; @property(nonatomic, assign) BOOL captchaSwitch; @property (nonatomic, copy) NSString *sudId; @property (nonatomic, copy) NSString *sudkey; @property (nonatomic, copy) NSString *nimKey; @end NS_ASSUME_NONNULL_END