
- Removed YuMi/Library/ (138 MB, not tracked) - Removed YuMi/Resources/ (23 MB, not tracked) - Removed old version assets (566 files, not tracked) - Excluded Pods/, xcuserdata/ and other build artifacts - Clean repository optimized for company server deployment
185 lines
7.5 KiB
Objective-C
185 lines
7.5 KiB
Objective-C
//
|
||
// RoomInfoModel.h
|
||
// YUMI
|
||
//
|
||
// Created by YUMI on 2021/10/18.
|
||
//
|
||
|
||
#import "NSObject+MJExtension.h"
|
||
#import "YUMINNNN.h"
|
||
#import "AcrossRoomPKPanelModel.h"
|
||
#import "RoomBottomEntranceModel.h"
|
||
|
||
NS_ASSUME_NONNULL_BEGIN
|
||
typedef NS_ENUM(NSInteger, RoomType) {
|
||
RoomType_Room = 3,
|
||
RoomType_Anchor = 6, // 个播房
|
||
RoomType_MiniGame = 7,//小游戏房
|
||
RoomType_10Mic = 8,//10 个麦位
|
||
RoomType_15Mic = 9,//15 个麦位
|
||
RoomType_19Mic = 19,//19 个麦位
|
||
RoomType_20Mic = 20,//20 个麦位
|
||
};
|
||
|
||
typedef NS_ENUM(NSInteger, RoomModeType){
|
||
///普通模式
|
||
RoomModeType_Normal_Mode = 0,
|
||
///排麦模式
|
||
RoomModeType_Open_Micro_Mode = 1,
|
||
///关闭排麦模式
|
||
RoomModeType_Close_Micro_Mode = 2,
|
||
///开启PK
|
||
RoomModeType_Open_PK_Mode = 3,
|
||
///关闭PK
|
||
RoomModeType_Close_PK_Mode = 4,
|
||
///相亲
|
||
RoomModeType_Open_Blind = 5,
|
||
///开启跨房PK
|
||
RoomModeType_Open_AcrossRoomPK_mode = 7,
|
||
};
|
||
|
||
typedef NS_ENUM(NSInteger, PermitRoomType) {
|
||
PermitRoomType_License = 1,//牌照
|
||
PermitRoomType_YoungerStar = 3,//新秀
|
||
PermitRoomType_Other//其他
|
||
};
|
||
|
||
|
||
typedef NS_ENUM(NSInteger, RoomPlayDateingType) {
|
||
RoomPlayDateingType_Talk = 1,///交谈
|
||
RoomPlayDateingType_Pick = 2,///心动选人
|
||
RoomPlayDateingType_Result = 3,///公布结果
|
||
RoomPlayDateingType_Finish = 4,///结束
|
||
};
|
||
|
||
///本地字段 房间相亲的状态
|
||
typedef NS_ENUM(NSInteger, RoomDatingStateChangeType) {
|
||
RoomDatingStateChangeType_Normal = 0,///默认状态
|
||
RoomDatingStateChangeType_Open = 1,/// 关闭->开启
|
||
RoomDatingStateChangeType_Close = 2,///开启->关闭
|
||
};
|
||
|
||
@interface CandyTreeSwitchModel : PIBaseModel
|
||
///幸运许愿池开关
|
||
@property(nonatomic, assign) BOOL openBoxSwitch;
|
||
///许愿池图标
|
||
@property(nonatomic, copy) NSString *openBoxIcon;
|
||
///寻爱之旅总开关
|
||
@property (nonatomic,assign) BOOL open;
|
||
///寻爱之旅开关等级
|
||
@property (nonatomic,assign) NSInteger openLevel;
|
||
///允许将中奖消息对外展示等级
|
||
@property (nonatomic,assign) NSInteger sendMsgLevel;
|
||
@property(nonatomic,copy) NSString *price;
|
||
@end
|
||
|
||
|
||
@interface RoomInfoModel : PIBaseModel
|
||
@property (nonatomic , copy) NSString * nick;
|
||
@property (nonatomic , assign) NSInteger uid;
|
||
@property (nonatomic , assign) NSInteger isRecom;
|
||
@property (nonatomic , assign) NSInteger calcSumDataIndex;
|
||
@property (nonatomic , copy) NSString * roomTag;
|
||
@property (nonatomic , copy) NSString *singleRoomSortId;//房间分类
|
||
@property (nonatomic , copy) NSString *sortName;
|
||
@property (nonatomic , copy) NSString * audioSdkType;
|
||
@property (nonatomic , copy) NSString * trtcSig;
|
||
@property (nonatomic , assign) NSInteger hideFlag;
|
||
@property (nonatomic , assign) RoomType type;
|
||
@property (nonatomic , strong) NSArray <NSString *> * speakTemplate;
|
||
@property (nonatomic , assign) NSInteger tagId;
|
||
@property (nonatomic , assign) BOOL isExceptionClose;
|
||
@property (nonatomic , assign) NSInteger recomSeq;
|
||
@property (nonatomic , assign) BOOL redEnvelopeOpen;
|
||
@property (nonatomic , assign) NSInteger roomId;
|
||
@property (nonatomic , assign) BOOL valid;
|
||
@property (nonatomic , copy) NSString * tagPict;
|
||
@property (nonatomic , assign) NSInteger count;
|
||
@property (nonatomic , assign) BOOL showGiftValue;
|
||
@property (nonatomic , copy) NSString * avatar;
|
||
@property (nonatomic , assign) NSInteger onlineNum;
|
||
@property (nonatomic , assign) BOOL isCloseScreen;
|
||
//@property(nonatomic,assign) BOOL closeScreen;
|
||
@property (nonatomic , assign) BOOL exceptionClose;
|
||
@property (nonatomic , assign) PermitRoomType isPermitRoom;
|
||
@property (nonatomic , assign) NSInteger abChannelType;
|
||
@property (nonatomic , assign) BOOL hasAnimationEffect;
|
||
@property (nonatomic , assign) GenderType gender;
|
||
@property (nonatomic , assign) BOOL serverRedEnvelopeSwitch;
|
||
@property (nonatomic , assign) BOOL isOpenGame;
|
||
@property (nonatomic , copy) NSString * roomDesc;
|
||
@property (nonatomic , assign) NSInteger officeUser;
|
||
@property (nonatomic , assign) NSInteger erbanNo;
|
||
@property (nonatomic , assign) NSInteger audioQuality;
|
||
@property (nonatomic , copy) NSString * title;
|
||
@property (nonatomic , assign) NSInteger closeScreenFlag;
|
||
@property (nonatomic , assign) NSInteger operatorStatus;
|
||
@property (nonatomic , copy) NSString * roomPwd;
|
||
@property (nonatomic , assign) BOOL leaveMode;
|
||
@property (nonatomic, copy) NSString *backPic;
|
||
@property (nonatomic , assign) RoomModeType roomModeType;//房间模式
|
||
@property (nonatomic, strong) NSNumber *serialValue;
|
||
///房间介绍
|
||
@property (nonatomic, copy) NSString *introduction;
|
||
///糖果树的配置
|
||
@property (nonatomic,strong) CandyTreeSwitchModel *boxSwitchVo;
|
||
/// 是否已经收藏
|
||
@property(nonatomic, assign) BOOL isRoomFans;
|
||
///当前相亲所进行到什么模式
|
||
@property (nonatomic,assign) RoomPlayDateingType blindDateState;
|
||
///能否开启相亲
|
||
@property (nonatomic,assign) BOOL canOpenBlindDate;
|
||
///相亲的vip坑位的用户uid
|
||
@property (nonatomic,assign) NSInteger blindDateVipUid;
|
||
///本地的字段 判断当前模式是否从相亲切换 关闭或者开启
|
||
@property (nonatomic,assign) RoomDatingStateChangeType datingState;
|
||
///是否切换了房间类型(本地字段)
|
||
@property (nonatomic, assign) BOOL hadChangeRoomType;
|
||
///是否需要重新选择小游戏,原有小游戏玩法不在最新配置里面是需要重新选择
|
||
@property (nonatomic, assign) BOOL isReselect;
|
||
///小游戏ID
|
||
@property (nonatomic, assign) int64_t mgId;
|
||
///小游戏名称
|
||
@property (nonatomic, copy) NSString *mgName;
|
||
///pk场次id(本地字段)
|
||
@property (nonatomic, assign) NSInteger roundId;
|
||
//PK进行状态(1:pk中 2:惩罚中)
|
||
@property (nonatomic, assign) AcrossRoomPkStateType pkState;
|
||
///个播PK赢方uid
|
||
@property (nonatomic, copy) NSString *winUid;
|
||
///PK中的对方UID(本地字段)
|
||
@property (nonatomic, copy) NSString *pkUid;
|
||
///PK中的对方房间roomId(本地字段)
|
||
@property (nonatomic, copy) NSString *pkRoomId;
|
||
///清除公屏的时间(用于拉取此时间后的公屏消息)
|
||
@property (nonatomic , assign) double clearScreenTime;
|
||
///小游戏房麦位数量
|
||
@property (nonatomic, assign) NSInteger mgMicNum;
|
||
///是否显示跨房PK预约倒计时
|
||
@property (nonatomic, assign) BOOL showPkBeginTime;
|
||
///跨房PK开始时间
|
||
@property (nonatomic, assign) long long pkBeginTime;
|
||
///个播随机PK匹配结束时间
|
||
@property (nonatomic, assign) long long pkMatchStartTime;
|
||
///寻爱之旅的配置
|
||
@property (nonatomic,strong) CandyTreeSwitchModel *findLoveDrawSwitchVo;
|
||
///夺宝精灵的配置
|
||
@property(nonatomic,strong) CandyTreeSwitchModel *seizeTreasureSwitchVo;
|
||
///是否有房间相册权限
|
||
@property(nonatomic,assign) BOOL hasRoomAlbum;
|
||
//1 厅内红包 2 全服红包 3 厅内红包+全服红包
|
||
@property(nonatomic,assign) NSInteger redEnvelopeType;
|
||
|
||
@property (nonatomic , assign) RoomType oldType;
|
||
|
||
/// 右下角的配置项
|
||
@property (nonatomic, strong) RoomBottomEntranceModel *rightBottomIconConfig;
|
||
|
||
@property(nonatomic, copy) NSString *roomLevelIcon; //房间等级图标
|
||
@property(nonatomic, assign) NSInteger usedMicSkinId; //使用中的麦位皮肤id
|
||
@property(nonatomic, assign) NSInteger usedMicEffectId; //使用中的麦位特效id
|
||
|
||
@end
|
||
|
||
NS_ASSUME_NONNULL_END
|