71 lines
2.1 KiB
Objective-C
71 lines
2.1 KiB
Objective-C
//
|
||
// ClientConfig.h
|
||
// YUMI
|
||
//
|
||
// Created by YUMI on 2021/12/11.
|
||
//
|
||
|
||
#import <Foundation/Foundation.h>
|
||
#import "ClientDataModel.h"
|
||
NS_ASSUME_NONNULL_BEGIN
|
||
|
||
@interface ClientConfig : PIBaseModel
|
||
+ (instancetype)shareConfig;
|
||
///初始化
|
||
- (void)clientInit;
|
||
|
||
/// 获取 UI 配置
|
||
- (void)clientConfig:(void(^)(void))finish;
|
||
|
||
/// iOS第三方登录是否需要绑定手机号
|
||
@property (nonatomic,assign) BOOL iOSPhoneBind;
|
||
/// 是否开启了糖果树
|
||
@property (nonatomic,assign) BOOL openCandyTree;
|
||
///配置信息
|
||
@property (nonatomic,strong) ClientDataModel *configInfo;
|
||
|
||
@property (nonatomic, strong) AppUISetting *uiSetting;
|
||
|
||
///开箱子 大于等级 展示
|
||
@property (nonatomic, assign) NSInteger openCandyTreeLimitLevel;
|
||
|
||
@property(nonatomic,assign) BOOL isTF;
|
||
///是否刷新了
|
||
@property (nonatomic,assign) BOOL isLoad;
|
||
///房间id,用于分享房间跳转到房间
|
||
@property (nonatomic, copy) NSString *__nullable roomId;
|
||
///用户id,用于外部h5跳转到聊天页面
|
||
@property (nonatomic, copy) NSString *__nullable chatId;
|
||
///用户id,推送跳转到聊天页面
|
||
@property (nonatomic, copy) NSString *__nullable pushChatId;
|
||
///邀请码,从外面进来会进入注册页面,并自动填写这个邀请码
|
||
@property(nonatomic,copy) NSString *inviteCode;
|
||
///表情---
|
||
@property (nonatomic, copy) NSString *version;
|
||
@property (nonatomic, copy) NSString *zipMd5;
|
||
@property (nonatomic, strong) NSURL *zipUrl;
|
||
|
||
@property(nonatomic, assign) BOOL shouldDisplayCaptcha;
|
||
|
||
- (UIColor *)bgColor;
|
||
- (NSString *)tabName:(NSInteger)tabIndex;
|
||
|
||
- (NSString *)loadDefaultNormalTabImageName:(NSInteger)tabIndex;
|
||
- (NSString *)loadDefaultSelectedTabImageName:(NSInteger)tabIndex;
|
||
- (NSString *)loadConfigNormalTabImagePath:(NSInteger)tabIndex;
|
||
- (NSString *)loadConfigSelectedTabImagePath:(NSInteger)tabIndex;
|
||
|
||
@property (nonatomic, copy) NSString *reloadNavigationAreaImageKey;
|
||
@property (nonatomic, copy) NSString *reloadViewBackgroundColorKey;
|
||
|
||
@property (nonatomic, strong) UIImage *navigationAreaBG;
|
||
@property (nonatomic, strong) UIImage *tabbarBGImage;
|
||
|
||
|
||
@property (nonatomic, copy) void(^updateTabbarBG)(UIImage *image);
|
||
|
||
|
||
@end
|
||
|
||
NS_ASSUME_NONNULL_END
|