RoomMasterCell.h 776 B

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // RoomMasterCell.h
  3. // UniversalApp
  4. //
  5. // Created by bogokj on 2019/8/2.
  6. // Copyright © 2019 voidcat. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @class RoomUserInfo;
  10. @class RoomWheatTypeModel;
  11. @class RoomMasterCell;
  12. NS_ASSUME_NONNULL_BEGIN
  13. @protocol RoomMasterCellDelegate <NSObject>
  14. - (void)masterCell:(RoomMasterCell *)masterCell didClickGiftView:(UIView *)giftView;
  15. - (void)masterCell:(RoomMasterCell *)masterCell didClickUser:(RoomUserInfo *)model;
  16. @end
  17. @interface RoomMasterCell : UICollectionViewCell
  18. @property(nonatomic, assign) BOOL is_open_guest;
  19. @property(nonatomic, strong) RoomUserInfo *model;
  20. @property(nonatomic, strong) Wheat_Type_List *wheatModel;
  21. @property(nonatomic, weak) id<RoomMasterCellDelegate>delegate;
  22. @end
  23. NS_ASSUME_NONNULL_END