Files
yinmeng-ios/xplan-ios/Main/Room/View/RoomHostDelegate.h
2024-05-14 18:25:14 +08:00

43 lines
988 B
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// 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 —> XXXProtocolRoomGuestDelegate
*/
@protocol RoomHostDelegate <NSObject, MicroQueueProtocol, RoomAnimationProtocol>
- (RoomInfoModel*)getRoomInfo;
- (UserInfoModel*)getUserInfo;
- (void)exitRoom;
- (void)miniRoom;
- (UINavigationController *)getCurrentNav;
- (NSArray *)getRoomSuperAdminList;
///获取房间PK队伍的
- (NSArray *)getRoomPKGroupTeamList;
///房间内PK是否正在进行
- (BOOL)isRoomPKPlaying;
-(BOOL)getIsMiniEnter;
@end
NS_ASSUME_NONNULL_END