Skip to content

[Feature] 为卡牌组件添加类似附魔的徽标外观 #45

Description

@FuYnAloft

模块范围

Public API(公开 API)

动机 / 使用场景

希望卡牌组件可以有类似附魔的外观,即卡牌左上角徽标,有图标,支持显示数字。
最好支持类似能力的多参数,可以在图标的四个角都显示数字而不是像原版只能右下角显示一个。

如果有多个组件都有徽标,那么会按顺序从上往下依次放置。
兼容附魔的徽标,当有附魔徽标的时候,组件徽标需要下移一格。

方案设想

加个 IEnchanmentDisplayCardComponent 接口

支持声名 EnchantmentIconPath, EnchanmentDisplayAmount 等属性

替代方案

No response

其他补充

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/apiPublic API, contracts, or compatibility surface.priority/p2Normal priority; useful but not urgent.status/needs-triageNeeds maintainer or analyzer triage.type/featureFeature request or behavior improvement.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions