SusBattleCell

战斗网格单元格 — reachable/path/threat/target/deploy/hazard 高亮状态、terrain 类型、战利品标记、path step/turn 编号。
包
SusGame · HUD(商业)
属性
| 名称 | 类型 | 默认值 | |
|---|---|---|---|
Reachable | Prop<bool> | false | v-model |
Path | Prop<bool> | false | v-model |
Threat | Prop<bool> | false | v-model |
Target | Prop<bool> | false | v-model |
Deploy | Prop<bool> | false | v-model |
Hazard | Prop<bool> | false | v-model |
Selected | Prop<bool> | false | v-model |
HasLoot | Prop<bool> | false | v-model |
Terrain | Prop<string> | "ground" | v-model |
PathStep | Prop<int> | 0 | v-model |
PathTurn | Prop<string> | "" | v-model |
插槽
没有插槽。
事件
没有公开事件。
样式钩子
USS 类契约 — 无需改 C# 即可覆盖外观。状态通过这些类切换:
sus-battle-cellsus-battle-cell__edgesus-battle-cell__edge--esus-battle-cell__edge--fullsus-battle-cell__edge--halfsus-battle-cell__edge--nsus-battle-cell__edge--ssus-battle-cell__edge--wsus-battle-cell__fillsus-battle-cell__lootsus-battle-cell__stepsus-battle-cell__terrainsus-battle-cell--deploysus-battle-cell--hazardsus-battle-cell--lootsus-battle-cell--pathsus-battle-cell--reachablesus-battle-cell--selectedsus-battle-cell--targetsus-battle-cell--terrain-groundsus-battle-cell--terrain-highsus-battle-cell--terrain-rubblesus-battle-cell--terrain-watersus-battle-cell--threat
Usage
xml
<sus:SusBattleCell />