1
This commit is contained in:
@@ -16,6 +16,13 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
/// 使用前三名角色模型进行配置(数组元素为 KBCharacter*,最多取前三个)
|
||||
- (void)configWithCharacters:(NSArray<KBCharacter *> *)characters;
|
||||
|
||||
/// 中间卡片底部加号按钮点击回调(传入对应角色模型,可能为 nil)
|
||||
@property (nonatomic, copy, nullable) void (^onCenterPlusTapped)(KBCharacter * _Nullable character);
|
||||
/// 左侧卡片底部加号按钮点击回调
|
||||
@property (nonatomic, copy, nullable) void (^onLeftPlusTapped)(KBCharacter * _Nullable character);
|
||||
/// 右侧卡片底部加号按钮点击回调
|
||||
@property (nonatomic, copy, nullable) void (^onRightPlusTapped)(KBCharacter * _Nullable character);
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
Reference in New Issue
Block a user