MOLiveCenterTableView.h 932 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // MOLiveCenterTableView.h
  3. // MiMoLive
  4. //
  5. // Created by SuperC on 2023/12/5.
  6. //
  7. /** 用户在线状态 */
  8. typedef NS_ENUM(NSUInteger, MOLiveCenterCellType)
  9. {
  10. MOLiveCenterUserCellType,
  11. MOLiveCenterWishListCellType
  12. };
  13. #import <UIKit/UIKit.h>
  14. #import "MOLiveCenterBaseCell.h"
  15. #import "MOListCenterTitleCell.h"
  16. NS_ASSUME_NONNULL_BEGIN
  17. @interface MOLiveCenterTableView : UITableView
  18. @property (nonatomic, assign) MOLiveCenterCellType cellType;
  19. /** 展示数据 */
  20. @property (nonatomic, strong) NSMutableArray *dataArr;
  21. /** 其他金豆 */
  22. @property (nonatomic, assign) double otherGoldenBean;
  23. /** 点赞金豆 */
  24. @property (nonatomic, assign) double likeGoldenBean;
  25. /** 嘉宾分成金豆 */
  26. @property (nonatomic, assign) double divideGoldenBean;
  27. @property (nonatomic, copy) void (^cellClickBlock)(MOPersonList *cellModel);
  28. @property (nonatomic, copy) void (^wishCellClickBlock)(void);
  29. @end
  30. NS_ASSUME_NONNULL_END