2021-10-26 19:14:01 +08:00
|
|
|
|
//
|
|
|
|
|
// RoomDelegate.h
|
|
|
|
|
// xplan-ios
|
|
|
|
|
//
|
2021-11-01 14:25:16 +08:00
|
|
|
|
// Created by zu on 2021/10/26.
|
2021-10-26 19:14:01 +08:00
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
2021-11-04 19:01:19 +08:00
|
|
|
|
#import "MicroQueueProtocol.h"
|
2022-01-13 18:45:17 +08:00
|
|
|
|
#import "RoomAnimationProtocol.h"
|
2021-10-26 19:14:01 +08:00
|
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
|
|
@class RoomInfoModel;
|
|
|
|
|
@class UserInfoModel;
|
|
|
|
|
|
2022-01-13 18:45:17 +08:00
|
|
|
|
/** RoomVC 与子 View 之间的通信协议。
|
|
|
|
|
|
|
|
|
|
调用方向:子 View —> RoomHostDelegate。
|
|
|
|
|
|
|
|
|
|
**Note:**
|
|
|
|
|
|
|
|
|
|
继承 MicroQueueProtocol、RoomAnimationProtocol 等协议是为了做桥接。
|
|
|
|
|
实现后的调用方向:子 View —> RoomHostDelegate —> XXXProtocol(RoomGuestDelegate)。
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
@protocol RoomHostDelegate <NSObject, MicroQueueProtocol, RoomAnimationProtocol>
|
2021-10-26 19:14:01 +08:00
|
|
|
|
|
|
|
|
|
- (RoomInfoModel*)getRoomInfo;
|
|
|
|
|
- (UserInfoModel*)getUserInfo;
|
2021-10-27 23:05:03 +08:00
|
|
|
|
- (void)exitRoom;
|
2021-12-03 17:07:21 +08:00
|
|
|
|
- (void)miniRoom;
|
2021-11-15 18:59:44 +08:00
|
|
|
|
- (UINavigationController *)getCurrentNav;
|
2022-04-18 22:36:16 +08:00
|
|
|
|
- (NSArray *)getRoomSuperAdminList;
|
2022-05-27 18:24:13 +08:00
|
|
|
|
///获取房间PK队伍的
|
|
|
|
|
- (NSArray *)getRoomPKGroupTeamList;
|
2021-10-26 19:14:01 +08:00
|
|
|
|
@end
|
|
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|