YBGiftPage.h 844 B

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // YBGiftPage.h
  3. // YBVideo
  4. //
  5. // Created by YB007 on 2020/10/10.
  6. // Copyright © 2020 cat. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "YBGiftView.h"
  10. //#import "RKPaintedGiftView.h"
  11. //#import "RKPaintedHeader.h"
  12. @interface YBGiftPage : UIView
  13. @property(nonatomic,copy)RewardGiftBlock giftEvent;
  14. @property(nonatomic,assign)SendGiftType sendType; //送出类型(视频、直播)
  15. /**
  16. * sendType = SendGiftType_Video ==> 视频id
  17. * sendType = SendGiftType_Live ==> 主播id
  18. */
  19. @property(nonatomic,strong)NSString *receiveID;
  20. /**
  21. * sendType = SendGiftType_Live 需要此参数
  22. */
  23. @property(nonatomic,strong)NSString *receiveStream;
  24. @property(nonatomic,strong)RKPaintedGiftView *paintedRegion;//手绘礼物绘制区域
  25. +(instancetype)showGiftViewComplete:(RewardGiftBlock)complete;
  26. -(void)requestGiftData;
  27. @end