36 lines
797 B
Objective-C
36 lines
797 B
Objective-C
//
|
|
// XPRoomPresenter.h
|
|
// xplan-ios
|
|
//
|
|
// Created by 冯硕 on 2021/10/18.
|
|
//
|
|
|
|
#import "BaseMvpPresenter.h"
|
|
#import "RoomInfoModel.h"
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface XPRoomPresenter : BaseMvpPresenter
|
|
|
|
|
|
/// 获取用户信息
|
|
- (void)getUserInfoWithUid:(NSString *)uid;
|
|
|
|
/// 获取进入的那个房间信息
|
|
/// @param uid 进入的房间的uid
|
|
- (void)getRoomInfoWithUid:(NSString *)uid;
|
|
|
|
/// 开启用户自己的房间
|
|
/// @param title 房间标题
|
|
/// @param type 房间类型
|
|
/// @param roomPwd 房间密码
|
|
/// @param roomDesc 房间介绍
|
|
/// @param backPic 房间背景
|
|
- (void)openUserRoomWithTitle:(NSString *)title
|
|
type:(RoomType)type
|
|
roomPwd:(NSString *)roomPwd
|
|
roomDesc:(NSString *)roomDesc
|
|
backPic:(NSString *)backPic;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|