Files
peko-ios/YuMi/Modules/YMNewHome/View/Cell/XPNewHomePartyTableViewCell.h
2023-12-11 16:14:15 +08:00

36 lines
1.1 KiB
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.

//
// XPNewHomePartyTableViewCell.h
// YuMi
//
// Created by YuMi on 2022/10/8.
//
#import <UIKit/UIKit.h>
@class XPNewHomePartyTableViewCell,HomePlayRoomModel;
@protocol XPNewHomePartyTableViewCellDelegate <NSObject>
///点击头像
-(void)xPNewHomePartyTableViewCell:(XPNewHomePartyTableViewCell *_Nullable)cell didSelectItem:(HomePlayRoomModel *_Nullable)roomModel;
///点击聊天
-(void)xPNewHomePartyTableViewCell:(XPNewHomePartyTableViewCell *_Nullable)cell didSelectChat:(HomePlayRoomModel *_Nonnull)roomModel;
///播放音乐
-(void)xPNewHomePartyTableViewCell:(XPNewHomePartyTableViewCell *_Nullable)cell didPlayVoice:(HomePlayRoomModel *_Nonnull)roomModel didClickPlaySound:(BOOL)isPlay;
@end
NS_ASSUME_NONNULL_BEGIN
@class HomePlayRoomModel, HomeRecommendRoomModel;
@interface XPNewHomePartyTableViewCell : UITableViewCell
@property (nonatomic,strong) HomePlayRoomModel *roomInfo;
@property(nonatomic,weak) id<XPNewHomePartyTableViewCellDelegate>delegate;
///声音卡时svga是否播放动画
-(void)setPlaySoundStatus:(BOOL)isPlay;
///声音卡倒计时
-(void)setPlaySoundTime:(NSInteger)time;
@end
NS_ASSUME_NONNULL_END