34 lines
679 B
C
34 lines
679 B
C
![]() |
//
|
||
|
// YMMineSimpleUserInfoHeaderView.h
|
||
|
// YUMI
|
||
|
//
|
||
|
// Created by XY on 2023/2/21.
|
||
|
//
|
||
|
|
||
|
#import <UIKit/UIKit.h>
|
||
|
|
||
|
@class UserInfoModel;
|
||
|
NS_ASSUME_NONNULL_BEGIN
|
||
|
|
||
|
@protocol XPMineSimpleUserInfoHeaderViewDelegate <NSObject>
|
||
|
/// 点击了更多礼物
|
||
|
- (void)headerViewMoreGiftAction;
|
||
|
/// 点击了直播中
|
||
|
- (void)headerViewOnlineAction:(NSString *)roomUid;
|
||
|
|
||
|
@end
|
||
|
|
||
|
@interface XPMineSimpleUserInfoHeaderView : UIView
|
||
|
|
||
|
/// 用户信息
|
||
|
@property (nonatomic,strong) UserInfoModel *userInfo;
|
||
|
|
||
|
///当前查看用户是否在直播
|
||
|
@property (nonatomic,copy) NSString *roomUid;
|
||
|
|
||
|
@property (nonatomic,weak) id<XPMineSimpleUserInfoHeaderViewDelegate> delegate;
|
||
|
|
||
|
@end
|
||
|
|
||
|
NS_ASSUME_NONNULL_END
|