43 lines
1.1 KiB
Objective-C
43 lines
1.1 KiB
Objective-C
//
|
|
// YMRoomFunctionContainerView.h
|
|
// YUMI
|
|
//
|
|
// Created by YUMI on 2021/12/15.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
#import "RoomHostDelegate.h"
|
|
#import "RoomGuestDelegate.h"
|
|
#import "RoomInfoModel.h"
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
@class Music;
|
|
@interface XPRoomFunctionContainerView : UIView <RoomGuestDelegate>
|
|
///是否第一次更新在线人数
|
|
@property(nonatomic,assign) BOOL isFirstUpdate;
|
|
- (instancetype)initWithDelegate:(id<RoomHostDelegate>)delegate;
|
|
- (void)hiddenSudGamePostionView;
|
|
///获取当前的音乐
|
|
- (Music *)getCurrentMusic;
|
|
///是否正在播放
|
|
- (BOOL)isPlaying;
|
|
///获取房间PK队伍的
|
|
- (NSArray *)getRoomPKGroupTeamList;
|
|
///房间内PK是否正在进行
|
|
- (BOOL)isRoomPKPlaying;
|
|
///更新在线人数
|
|
-(void)updateOnlineCount:(NSString *)count countList:(NSArray *)countList isUpdateCount:(BOOL)isUpdateCount;
|
|
|
|
- (void)showPKPanelView;
|
|
|
|
- (void)showMusicPanel;
|
|
|
|
// 处理主动传递的点击事件
|
|
- (void)onlineTapRecognizer;
|
|
- (void)tapFansTeamRecognizer;
|
|
- (void)contributionButtonAction:(UITapGestureRecognizer *)tap;
|
|
- (void)onAnchorHourRankButtonAction:(UITapGestureRecognizer *)ges;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|