2025-11-06 19:51:50 +08:00
|
|
|
|
//
|
|
|
|
|
|
// HomeRankCardCell.h
|
|
|
|
|
|
// keyBoard
|
|
|
|
|
|
//
|
|
|
|
|
|
// Created by Codex on 2025/11/06.
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
2025-12-03 19:19:20 +08:00
|
|
|
|
#import "KBCharacter.h"
|
2025-11-06 19:51:50 +08:00
|
|
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
|
|
|
|
/// 首页排行榜卡片 Cell(两列)
|
|
|
|
|
|
@interface HomeRankCardCell : UICollectionViewCell
|
|
|
|
|
|
|
2025-12-03 19:38:55 +08:00
|
|
|
|
/// 当前展示的角色模型(设置后,cell 会在 setter 中根据模型刷新 UI)
|
2025-12-03 19:19:20 +08:00
|
|
|
|
@property (nonatomic, strong, nullable) KBCharacter *character;
|
|
|
|
|
|
|
2025-11-06 19:51:50 +08:00
|
|
|
|
/// 点击加号/勾选按钮回调
|
|
|
|
|
|
@property (nonatomic, copy, nullable) void (^onTapAction)(void);
|
|
|
|
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|