1
This commit is contained in:
@@ -8,30 +8,30 @@
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/// 排行榜角色/角色卡片模型
|
||||
/// 对应后端返回字段:
|
||||
/// 对应后端返回字段示例:
|
||||
/// {
|
||||
/// "id": 0,
|
||||
/// "title": "",
|
||||
/// "characterBackground": "",
|
||||
/// "avatarUrl": "",
|
||||
/// "download": "",
|
||||
/// "tag": 0,
|
||||
/// "rank": 0
|
||||
/// "id" : 29,
|
||||
/// "download" : "0x4AQSfQS0",
|
||||
/// "characterName" : "Ms.",
|
||||
/// "avatarUrl" : "https://...",
|
||||
/// "tag" : 490,
|
||||
/// "characterBackground" : "d2EWHe1ST5",
|
||||
/// "rank" : 899
|
||||
/// }
|
||||
@interface KBCharacter : NSObject
|
||||
|
||||
/// 唯一标识,对应后端的 id
|
||||
@property (nonatomic, copy, nullable) NSString *characterId;
|
||||
|
||||
/// 标题/名称
|
||||
@property (nonatomic, copy, nullable) NSString *title;
|
||||
|
||||
/// 角色背景(颜色值、图片地址或后端定义的 key)
|
||||
@property (nonatomic, copy, nullable) NSString *characterBackground;
|
||||
/// 名称,对应后端的 characterName
|
||||
@property (nonatomic, copy, nullable) NSString *characterName;
|
||||
|
||||
/// 头像地址
|
||||
@property (nonatomic, copy, nullable) NSString *avatarUrl;
|
||||
|
||||
/// 角色背景(颜色值、图片地址或后端定义的 key)
|
||||
@property (nonatomic, copy, nullable) NSString *characterBackground;
|
||||
|
||||
/// 下载量文案或数值(后端返回字符串)
|
||||
@property (nonatomic, copy, nullable) NSString *download;
|
||||
|
||||
@@ -47,4 +47,3 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
|
||||
Reference in New Issue
Block a user