42 lines
965 B
Objective-C
42 lines
965 B
Objective-C
//
|
||
// RoomDelegate.h
|
||
// xplan-ios
|
||
//
|
||
// Created by zu on 2021/10/26.
|
||
//
|
||
|
||
#import <Foundation/Foundation.h>
|
||
#import "MicroQueueProtocol.h"
|
||
#import "RoomAnimationProtocol.h"
|
||
|
||
NS_ASSUME_NONNULL_BEGIN
|
||
|
||
@class RoomInfoModel;
|
||
@class UserInfoModel;
|
||
|
||
/** RoomVC 与子 View 之间的通信协议。
|
||
|
||
调用方向:子 View —> RoomHostDelegate。
|
||
|
||
**Note:**
|
||
|
||
继承 MicroQueueProtocol、RoomAnimationProtocol 等协议是为了做桥接。
|
||
实现后的调用方向:子 View —> RoomHostDelegate —> XXXProtocol(RoomGuestDelegate)。
|
||
|
||
*/
|
||
@protocol RoomHostDelegate <NSObject, MicroQueueProtocol, RoomAnimationProtocol>
|
||
|
||
- (RoomInfoModel*)getRoomInfo;
|
||
- (UserInfoModel*)getUserInfo;
|
||
- (void)exitRoom;
|
||
- (void)miniRoom;
|
||
- (UINavigationController *)getCurrentNav;
|
||
- (NSArray *)getRoomSuperAdminList;
|
||
///获取房间PK队伍的
|
||
- (NSArray *)getRoomPKGroupTeamList;
|
||
///房间内PK是否正在进行
|
||
- (BOOL)isRoomPKPlaying;
|
||
@end
|
||
|
||
NS_ASSUME_NONNULL_END
|