-
Notifications
You must be signed in to change notification settings - Fork 8
[Feature] 为卡牌组件添加类似附魔的徽标外观 #45
Copy link
Copy link
Open
Labels
area/apiPublic API, contracts, or compatibility surface.Public API, contracts, or compatibility surface.priority/p2Normal priority; useful but not urgent.Normal priority; useful but not urgent.status/needs-triageNeeds maintainer or analyzer triage.Needs maintainer or analyzer triage.type/featureFeature request or behavior improvement.Feature request or behavior improvement.
Metadata
Metadata
Assignees
Labels
area/apiPublic API, contracts, or compatibility surface.Public API, contracts, or compatibility surface.priority/p2Normal priority; useful but not urgent.Normal priority; useful but not urgent.status/needs-triageNeeds maintainer or analyzer triage.Needs maintainer or analyzer triage.type/featureFeature request or behavior improvement.Feature request or behavior improvement.
模块范围
Public API(公开 API)
动机 / 使用场景
希望卡牌组件可以有类似附魔的外观,即卡牌左上角徽标,有图标,支持显示数字。
最好支持类似能力的多参数,可以在图标的四个角都显示数字而不是像原版只能右下角显示一个。
如果有多个组件都有徽标,那么会按顺序从上往下依次放置。
兼容附魔的徽标,当有附魔徽标的时候,组件徽标需要下移一格。
方案设想
加个 IEnchanmentDisplayCardComponent 接口
支持声名 EnchantmentIconPath, EnchanmentDisplayAmount 等属性
替代方案
No response
其他补充
No response