YOUPAILZLiveModel.h 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. //
  2. // YOUPAILZLiveModel.h
  3. // TIANYAN
  4. //
  5. // Created by CY on 2021/5/17.
  6. // Copyright © 2021 leo. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "YOUPAILCUserShowInfo.h"
  10. #import "YOUPAILZLivePKDataAttachment.h"
  11. #import "YOUPAILZLiveScreenShotsModel.h"
  12. #import "YOUPAILZLiveRecommendGiftModel.h"
  13. #import "YOUPAILZLiveBarrageAttachment.h"
  14. #import "YOUPAILZLiveCarAttachment.h"
  15. #import "YOUPAILZLiveVipBarrageAttachment.h"
  16. NS_ASSUME_NONNULL_BEGIN
  17. @interface LZLiveAnchorRankInfoContentModel : NSObject
  18. @property (nonatomic, strong) NSString *youpaipval;
  19. @property (nonatomic, strong) NSString *youpaipdetail;
  20. @end
  21. @interface LZLiveAnchorRankInfoModel : NSObject
  22. @property (nonatomic,strong) LZLiveAnchorRankInfoContentModel *youpaipno;
  23. @property (nonatomic,strong) LZLiveAnchorRankInfoContentModel *youpaiptotalMoney;
  24. @property (nonatomic,strong) LZLiveAnchorRankInfoContentModel *youpaipgapMoney;
  25. @end
  26. @interface LZLiveTopThreeModel : NSObject
  27. @property (nonatomic, strong) NSString *youpaipid;
  28. @property (nonatomic, strong) NSString *youpaipavatar;
  29. @property (nonatomic, strong) NSString *youpaipscore;
  30. @end
  31. @interface YOUPAILZLiveModel : NSObject
  32. @property (nonatomic, strong) NSString *youpaiplive_id; // 直播间id
  33. @property (nonatomic, strong) NSString *youpaiproomid; // 聊天室id
  34. @property (nonatomic, strong) NSString *youpaipcharm_value; // 魅力值
  35. @property (nonatomic, strong) NSString *youpaipfans_count; // 粉丝数
  36. @property (nonatomic, strong) NSString *youpaiproom_title; // 直播间标题
  37. @property (nonatomic, strong) NSString *youpaipnotice_text; // 绿色公告
  38. @property (nonatomic, strong) YOUPAILCUserShowInfo *youpaipuser_info; // 女神信息
  39. @property (nonatomic, strong) YOUPAILZLivePKDataAttachment *youpaippk_info; // pk信息
  40. @property (nonatomic, strong) YOUPAILZLiveScreenShotsModel *youpaipscreenshots; // 截屏信息
  41. @property (nonatomic, assign) NSInteger youpaipis_virtual; // 是否机器人播放音频 1、是;0、否
  42. @property (nonatomic, strong) NSString *youpaipcoverimg; // 播放音频的背景图
  43. @property (nonatomic, strong) LZLiveAnchorRankInfoModel *youpaipanchor_rank_info; // 当前女神榜
  44. @property (nonatomic, strong) NSDictionary *youpaiprank_top_three; // 排行榜前三
  45. @property (nonatomic, strong) YOUPAILZLiveRecommendGiftModel *youpaiprecommend_gift; //推荐礼物
  46. @property (nonatomic, strong) NSArray <LZLiveTopThreeModel *>*youpaiplive_top_three; //直播间前三
  47. @property (nonatomic, readonly) UIFont *youpaipmaxFont;
  48. @property (nonatomic, readonly) UIFont *youpaipminFont;
  49. @property (nonatomic, assign) BOOL youpaipisMaxFont;
  50. @property (nonatomic, assign) NSInteger youpaiptype;//1正在直播 0直播已结束
  51. /// 是否上榜
  52. @property (nonatomic, assign) NSInteger youpaipis_fly;
  53. @property (nonatomic, strong) YOUPAILZLiveBarrageAttachment *youpaipu_data;
  54. /// 是否有座驾
  55. @property (nonatomic, assign) NSInteger youpaipis_fly_car;
  56. @property (nonatomic, strong) YOUPAILZLiveCarAttachment *youpaipcar_data;
  57. /// 是否有vip飘屏
  58. @property (nonatomic, assign) NSInteger youpaipis_fly_noble;
  59. @property (nonatomic, strong) YOUPAILZLiveVipBarrageAttachment *youpaipb_box_data;
  60. @property (nonatomic, assign) NSInteger youpaipis_comein_room_hide;
  61. - (CGFloat)youpaifnoticeTextHeight;
  62. @end
  63. NS_ASSUME_NONNULL_END