请求进房的接口获取房间信息
This commit is contained in:
63
xplan-ios/Main/Room/Model/RoomInfoModel.h
Normal file
63
xplan-ios/Main/Room/Model/RoomInfoModel.h
Normal file
@@ -0,0 +1,63 @@
|
||||
//
|
||||
// RoomInfoModel.h
|
||||
// xplan-ios
|
||||
//
|
||||
// Created by 冯硕 on 2021/10/18.
|
||||
//
|
||||
|
||||
#import "BaseObject.h"
|
||||
#import "XPEnum.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
typedef NS_ENUM(NSInteger, RoomType) {
|
||||
RoomType_Game = 3,
|
||||
};
|
||||
|
||||
|
||||
@interface RoomInfoModel : BaseObject
|
||||
@property (nonatomic , copy) NSString * nick;
|
||||
@property (nonatomic , assign) NSInteger uid;
|
||||
@property (nonatomic , assign) NSInteger isRecom;
|
||||
@property (nonatomic , assign) NSInteger calcSumDataIndex;
|
||||
@property (nonatomic , assign) NSInteger roomModeType;
|
||||
@property (nonatomic , copy) NSString * roomTag;
|
||||
@property (nonatomic , copy) NSString * audioSdkType;
|
||||
@property (nonatomic , assign) NSInteger hideFlag;
|
||||
@property (nonatomic , assign) NSInteger blindDateState;
|
||||
@property (nonatomic , assign) RoomType type;
|
||||
@property (nonatomic , strong) NSArray <NSString *> * speakTemplate;
|
||||
@property (nonatomic , assign) NSInteger tagId;
|
||||
@property (nonatomic , assign) BOOL canOpenBlindDate;
|
||||
@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;
|
||||
@property (nonatomic , assign) NSInteger 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) BOOL leaveMode;
|
||||
@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 , assign) BOOL isRoomFans;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
12
xplan-ios/Main/Room/Model/RoomInfoModel.m
Normal file
12
xplan-ios/Main/Room/Model/RoomInfoModel.m
Normal file
@@ -0,0 +1,12 @@
|
||||
//
|
||||
// RoomInfoModel.m
|
||||
// xplan-ios
|
||||
//
|
||||
// Created by 冯硕 on 2021/10/18.
|
||||
//
|
||||
|
||||
#import "RoomInfoModel.h"
|
||||
|
||||
@implementation RoomInfoModel
|
||||
|
||||
@end
|
@@ -1,27 +0,0 @@
|
||||
//
|
||||
// XPRoomMenuItem.h
|
||||
// xplan-ios
|
||||
//
|
||||
// Created by 冯硕 on 2021/10/14.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
typedef NS_ENUM(NSInteger, XPRoomMenuItemType) {
|
||||
XPRoomMenuItemType_Input = 1,
|
||||
XPRoomMenuItemType_Mic,///话筒
|
||||
XPRoomMenuItemType_Voice, ///声音
|
||||
XPRoomMenuItemType_Face,///表情
|
||||
XPRoomMenuItemType_Message,///房间私聊
|
||||
XPRoomMenuItemType_More,///更多
|
||||
XPRoomMenuItemType_Gift,///礼物
|
||||
};
|
||||
|
||||
@interface XPRoomMenuItem : NSObject
|
||||
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
@@ -1,12 +0,0 @@
|
||||
//
|
||||
// XPRoomMenuItem.m
|
||||
// xplan-ios
|
||||
//
|
||||
// Created by 冯硕 on 2021/10/14.
|
||||
//
|
||||
|
||||
#import "XPRoomMenuItem.h"
|
||||
|
||||
@implementation XPRoomMenuItem
|
||||
|
||||
@end
|
Reference in New Issue
Block a user