Files
yinmeng-ios/xplan-ios/Main/Room/View/XPRoomViewController.h
2021-11-04 18:01:59 +08:00

55 lines
1.6 KiB
Objective-C

//
// XPRoomViewController.h
// xplan-ios
//
// Created by 冯硕 on 2021/10/11.
//
#import "MvpViewController.h"
NS_ASSUME_NONNULL_BEGIN
@class XPRoomBackContainerView;
@class RoomHeaderView;
@class XPRoomMessageContainerView;
@class XPRoomMenuContainerView;
@class XPRoomActivityContainerView;
@class XPRoomPositionContainView;
@class RoomInfoModel;
@class UserInfoModel;
@class SocialStageView;
@interface XPRoomViewController : MvpViewController
///背景
@property (nonatomic,strong, readonly) XPRoomBackContainerView *backContainerView;
///房间信息
@property (nonatomic,strong, readonly) RoomHeaderView *roomHeaderView;
///坑位信息
@property (nonatomic,strong, readonly) SocialStageView *stageView;
///公屏
@property (nonatomic,strong, readonly) XPRoomMessageContainerView *messageContainerView;
///底部操作栏
@property (nonatomic,strong, readonly) XPRoomMenuContainerView *menuContainerView;
///活动
@property (nonatomic,strong, readonly) XPRoomActivityContainerView *activityContainerView;
///房间信息
@property (nonatomic,strong, readonly) RoomInfoModel *roomInfo;
///用户信息
@property (nonatomic,strong, readonly) UserInfoModel *userInfo;
/** XPRoomViewController 不允许外部 init ,请通过该方法启动房间。
* @params roomUid 房主uid
* @params viewController 启动方
*/
+ (BOOL)openRoom:(NSString*)roomUid viewController:(UIViewController*)viewController;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
- (id)copy NS_UNAVAILABLE;
- (id)mutableCopy NS_UNAVAILABLE;
@end
NS_ASSUME_NONNULL_END