YOUPAILZPKDataView.h 922 B

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // YOUPAILZPKDataView.h
  3. // TIANYAN
  4. //
  5. // Created by CY on 2021/6/1.
  6. // Copyright © 2021 leo. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "YOUPAILZLiveModel.h"
  10. #import "YOUPAILZLivePKDataAttachment.h"
  11. #import "LZLiveEnum.h"
  12. NS_ASSUME_NONNULL_BEGIN
  13. @interface YOUPAILZPKDataView : UIView
  14. @property (nonatomic, strong) YOUPAILZLiveModel *youpaipmodel;
  15. @property (nonatomic, strong) YOUPAILZLivePKDataAttachment *youpaipattachment;
  16. @property (nonatomic, copy) void (^currentPKStateBlock)(LZLivePKState state);
  17. @property (nonatomic, copy) void (^showDrawBlock)(BOOL show);
  18. @property (nonatomic, copy) void (^showRePKBlock)(BOOL show);
  19. @property (nonatomic, assign) BOOL youpaipisStartPK;
  20. - (instancetype)initWithFrame:(CGRect)frame model:(YOUPAILZLiveModel *)model;
  21. - (void)youpaifreloadWithAttachment:(YOUPAILZLivePKDataAttachment *)attachment;
  22. - (void)youpaifstopTimer;
  23. @end
  24. NS_ASSUME_NONNULL_END