2023-07-14 18:50:55 +08:00
|
|
|
|
//
|
|
|
|
|
// RoomAnimationProtocol.h
|
|
|
|
|
// YUMI
|
|
|
|
|
//
|
|
|
|
|
// Created by zu on 2022/1/13.
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
|
|
/** XPRoomAnimationView 用到的协议。
|
|
|
|
|
|
|
|
|
|
RoomVC 的子 View 之间的通信协议,通过 RoomHostDelegate 和 RoomGuestDelegate 继承实现。
|
|
|
|
|
|
|
|
|
|
调用方向:XPRoomAnimationView —> RoomHostDelegate —> RoomAnimationProtocol(RoomGuestDelegate继承)
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
@protocol RoomAnimationProtocol <NSObject>
|
|
|
|
|
|
|
|
|
|
@optional
|
|
|
|
|
/**
|
|
|
|
|
* StageView 专用。
|
|
|
|
|
*/
|
|
|
|
|
- (CGPoint)animationPointAtStageViewByUid:(NSString *)uid;
|
|
|
|
|
|
2024-12-06 21:00:20 +08:00
|
|
|
|
- (CGPoint)animationPointAtStageViewByIndex:(NSInteger)index;
|
|
|
|
|
|
2023-07-14 18:50:55 +08:00
|
|
|
|
@end
|
|
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|