2021-10-18 19:10:13 +08:00
|
|
|
//
|
|
|
|
// RoomInfoModel.h
|
|
|
|
// xplan-ios
|
|
|
|
//
|
|
|
|
// Created by 冯硕 on 2021/10/18.
|
|
|
|
//
|
|
|
|
|
2021-10-26 19:14:01 +08:00
|
|
|
#import "NSObject+MJExtension.h"
|
2021-10-18 19:10:13 +08:00
|
|
|
#import "XPEnum.h"
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
typedef NS_ENUM(NSInteger, RoomType) {
|
2022-02-14 20:23:26 +08:00
|
|
|
RoomType_Game = 3,
|
2022-01-22 11:35:44 +08:00
|
|
|
RoomType_Anchor = 6, // 个播房
|
|
|
|
RoomType_MiniGame = 7//小游戏房
|
2021-10-18 19:10:13 +08:00
|
|
|
};
|
|
|
|
|
2021-12-01 20:57:23 +08:00
|
|
|
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,
|
|
|
|
};
|
2021-10-18 19:10:13 +08:00
|
|
|
|
2021-12-27 20:44:33 +08:00
|
|
|
typedef NS_ENUM(NSInteger, PermitRoomType) {
|
|
|
|
PermitRoomType_Licnese = 1,//牌照
|
|
|
|
PermitRoomType_YoungerStar = 3,//新秀
|
|
|
|
PermitRoomType_Other//其他
|
|
|
|
};
|
|
|
|
|
2021-12-31 18:35:02 +08:00
|
|
|
|
|
|
|
typedef NS_ENUM(NSInteger, RoomPlayDateingType) {
|
|
|
|
RoomPlayDateingType_Talk = 1,///交谈
|
|
|
|
RoomPlayDateingType_Pick = 2,///心动选人
|
|
|
|
RoomPlayDateingType_Result = 3,///公布结果
|
|
|
|
RoomPlayDateingType_Finish = 4,///结束
|
|
|
|
};
|
|
|
|
|
2022-01-17 18:57:34 +08:00
|
|
|
///本地字段 房间相亲的状态
|
|
|
|
typedef NS_ENUM(NSInteger, RoomDatingStateChangeType) {
|
|
|
|
RoomDatingStateChangeType_Normal = 0,///默认状态
|
|
|
|
RoomDatingStateChangeType_Open = 1,/// 关闭->开启
|
|
|
|
RoomDatingStateChangeType_Close = 2,///开启->关闭
|
|
|
|
};
|
|
|
|
|
2021-12-11 17:02:42 +08:00
|
|
|
@interface CandyTreeSwitchModel : NSObject
|
|
|
|
///幸运许愿池开关
|
|
|
|
@property(nonatomic, assign) BOOL openBoxSwitch;
|
|
|
|
///许愿池图标
|
|
|
|
@property(nonatomic, copy) NSString *openBoxIcon;
|
|
|
|
@end
|
|
|
|
|
2021-10-26 19:14:01 +08:00
|
|
|
@interface RoomInfoModel : NSObject
|
2021-10-18 19:10:13 +08:00
|
|
|
@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 * audioSdkType;
|
2021-12-06 20:43:58 +08:00
|
|
|
@property (nonatomic , copy) NSString * trtcSig;
|
2021-10-18 19:10:13 +08:00
|
|
|
@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 , copy) NSString * meetingName;
|
|
|
|
@property (nonatomic , assign) BOOL valid;
|
|
|
|
@property (nonatomic , assign) NSInteger openTime;
|
|
|
|
@property (nonatomic , copy) NSString * tagPict;
|
|
|
|
@property (nonatomic , assign) BOOL isPureMode;
|
|
|
|
@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 exceptionClose;
|
2021-12-27 20:44:33 +08:00
|
|
|
@property (nonatomic , assign) PermitRoomType isPermitRoom;
|
2021-10-18 19:10:13 +08:00
|
|
|
@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;
|
2021-12-06 20:43:58 +08:00
|
|
|
@property (nonatomic , copy) NSString * roomPwd;
|
|
|
|
@property (nonatomic , assign) BOOL leaveMode;
|
2022-02-16 19:38:15 +08:00
|
|
|
@property (nonatomic, copy) NSString *backPic;
|
2021-12-06 20:43:58 +08:00
|
|
|
@property (nonatomic , assign) RoomModeType roomModeType;//房间模式
|
2022-03-14 19:46:10 +08:00
|
|
|
///房间介绍
|
|
|
|
@property (nonatomic, copy) NSString *introduction;
|
2021-12-11 17:02:42 +08:00
|
|
|
///糖果树的配置
|
|
|
|
@property (nonatomic,strong) CandyTreeSwitchModel *boxSwitchVo;
|
2021-12-27 16:40:14 +08:00
|
|
|
/// 是否已经收藏
|
|
|
|
@property(nonatomic, assign) BOOL isRoomFans;
|
2021-12-31 18:35:02 +08:00
|
|
|
///当前相亲所进行到什么模式
|
|
|
|
@property (nonatomic,assign) RoomPlayDateingType blindDateState;
|
2022-01-06 18:48:57 +08:00
|
|
|
///能否开启相亲
|
|
|
|
@property (nonatomic,assign) BOOL canOpenBlindDate;
|
2022-01-13 18:05:56 +08:00
|
|
|
///相亲的vip坑位的用户uid
|
|
|
|
@property (nonatomic,assign) NSInteger blindDateVipUid;
|
2022-01-17 18:57:34 +08:00
|
|
|
///本地的字段 判断当前模式是否从相亲切换 关闭或者开启
|
|
|
|
@property (nonatomic,assign) RoomDatingStateChangeType datingState;
|
2022-03-02 18:30:45 +08:00
|
|
|
///是否切换了房间类型(本地字段)
|
|
|
|
@property (nonatomic, assign) BOOL hadChangeRoomType;
|
2022-01-21 19:47:46 +08:00
|
|
|
///是否需要重新选择小游戏,原有小游戏玩法不在最新配置里面是需要重新选择
|
|
|
|
@property (nonatomic, assign) BOOL isReselect;
|
|
|
|
///小游戏ID
|
|
|
|
@property (nonatomic, copy) NSString *mgId;
|
|
|
|
///小游戏名称
|
|
|
|
@property (nonatomic, copy) NSString *mgName;
|
2021-10-18 19:10:13 +08:00
|
|
|
@end
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|