64 lines
1.9 KiB
Objective-C
Executable File
64 lines
1.9 KiB
Objective-C
Executable File
//
|
|
// RCMicParticipantsArea.h
|
|
// SealMic
|
|
//
|
|
// Created by lichenfeng on 2020/6/1.
|
|
// Copyright © 2020 rongcloud. All rights reserved.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
#import "RCMicRoomViewModel.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@protocol RCMicParticipantsAreaDelegate;
|
|
@interface RCMicParticipantsArea : UIView
|
|
|
|
@property (nonatomic, weak) id<RCMicParticipantsAreaDelegate> delegate;
|
|
- (instancetype)initWithFrame:(CGRect)frame viewModel:(RCMicRoomViewModel *)viewModel;
|
|
|
|
- (void)reloadData;
|
|
- (void)updateCollectionViewWithKeys:(NSArray *)keys;
|
|
- (void)updateGuangquanWithKeys:(NSArray *)keys;
|
|
|
|
/// 显示表情
|
|
- (void)bj_showEmojiWith:(NSDictionary *)info;
|
|
- (void)bj_showJiubaGifWith:(NSDictionary *)info;
|
|
- (void)bj_showJiubaGifArrListWith:(NSDictionary *)info;
|
|
|
|
/// 获取当前麦的坐标
|
|
- (CGPoint)bj_pointWithUid:(NSString *)uid;
|
|
|
|
-(void)ishowImagetype:(BOOL)ishow winteam:(NSString *)team;
|
|
-(void)ishowWinTeam:(NSString *)team;
|
|
|
|
@property (nonatomic, copy) void(^jiao_micHelpBlock)(NSString *uid);
|
|
|
|
- (void)onKTVChangeStatus:(BOOL)start;
|
|
|
|
- (void)onUpdateXinrenUIWith:(NSDictionary *)dataDict;
|
|
- (void)onUpdateJiaoyouUIWith:(NSDictionary *)dataDict;
|
|
- (void)onUpdatePaimaiUIWith:(NSDictionary *)dataDict;
|
|
- (void)onUpdateXiangqinUIWith:(NSDictionary *)dataDict;
|
|
|
|
//更改成游戏房布局
|
|
- (void)onChangeGameUI;
|
|
|
|
@end
|
|
|
|
@protocol RCMicParticipantsAreaDelegate <NSObject>
|
|
@optional
|
|
/**
|
|
* 点击某个参会者(麦位)的回调
|
|
* @param participantsArea 视图本身
|
|
* @param participantViewModel 麦位上对应的 viewModel
|
|
*/
|
|
- (void)participantsArea:(RCMicParticipantsArea *)participantsArea didSelectItemWithViewModel:(RCMicParticipantViewModel *)participantViewModel;
|
|
|
|
- (void)participantsAreaXqKTVStartArea:(RCMicParticipantsArea *)participants withStage:(NSInteger)stage;
|
|
- (void)participantsAreaXiangqinStageBimai;
|
|
- (void)participantsAreaXqSet:(RCMicParticipantsArea *)participants withStage:(NSInteger)stage;
|
|
|
|
@end
|
|
NS_ASSUME_NONNULL_END
|