PLVRewardMessage

Objective-C

@interface PLVRewardMessage : NSObject

/// 消息Id
/// @note 从接口拉取不为空,从即时消息收取为nil
@property (nonatomic, copy) NSString * _Nullable msgId;

/// 打赏的用户
@property (nonatomic, copy) NSString *unick;

/// 打赏的数量
@property (nonatomic, copy) NSString *goodNum;

/// 打赏内容:礼物打赏为礼物名称,现金打赏为金额
@property (nonatomic, copy) NSString *rewardContent;

/// 礼物打赏为礼物图片,现金打赏为空, 使用本地图片
@property (nonatomic, copy) NSString * _Nullable gimg;

@property (nonatomic, strong) UIImage *image;

@end

Swift

class PLVRewardMessage : NSObject

Undocumented

  • 消息Id

    Note

    从接口拉取不为空,从即时消息收取为nil

    Declaration

    Objective-C

    @property (nonatomic, copy) NSString *_Nullable msgId;

    Swift

    var msgId: String? { get set }
  • 打赏的用户

    Declaration

    Objective-C

    @property (nonatomic, copy) NSString *_Nonnull unick;

    Swift

    var unick: String { get set }
  • 打赏的数量

    Declaration

    Objective-C

    @property (nonatomic, copy) NSString *_Nonnull goodNum;

    Swift

    var goodNum: String { get set }
  • 打赏内容:礼物打赏为礼物名称,现金打赏为金额

    Declaration

    Objective-C

    @property (nonatomic, copy) NSString *_Nonnull rewardContent;

    Swift

    var rewardContent: String { get set }
  • 礼物打赏为礼物图片,现金打赏为空, 使用本地图片

    Declaration

    Objective-C

    @property (nonatomic, copy) NSString *_Nullable gimg;

    Swift

    var gimg: String? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong) UIImage *image

    Swift

    var image: NSImage { get set }