32 lines
780 B
Objective-C
32 lines
780 B
Objective-C
//
|
||
// MicroQueueModel.h
|
||
// mew-ios
|
||
//
|
||
// Created by 触海 on 2023/11/14.
|
||
//
|
||
|
||
#import <Foundation/Foundation.h>
|
||
@class MicroQueueModel;
|
||
|
||
NS_ASSUME_NONNULL_BEGIN
|
||
|
||
/** 麦序数据的协议。
|
||
RoomVC 的子 View 之间的通信协议,通过 CHRoomHostDelegate 和 CHRoomGuestDelegate 继承实现。
|
||
调用方向:
|
||
- getCustomMicroQueue:RoomVC 子 View ---> CHRoomHostDelegate ---> StageView
|
||
- microQueueUpdate:StageView ---> CHRoomHostDelegate ---> RoomVC 子 View
|
||
|
||
*/
|
||
@protocol MicroQueueProtocol <NSObject>
|
||
|
||
@optional
|
||
/// 获取麦序
|
||
- (NSMutableDictionary<NSString *, MicroQueueModel *> *)getCustomMicroQueue;
|
||
|
||
/// 麦序更新通知
|
||
- (void)microQueueUpdate:(NSMutableDictionary<NSString *, MicroQueueModel *> *)queue;
|
||
|
||
@end
|
||
|
||
NS_ASSUME_NONNULL_END
|