feat(ui): complete retail cursor state machine

Port every reachable ClientUISystem cursor branch through the production DAT enum map, preserve global-default versus widget-local event ordering, and surface the registered OS fallback. Route all four toolbar stance indicators through the same combat toggle command as the key binding, with golden DAT and transition conformance coverage.

Co-Authored-By: Codex <codex@openai.com>
This commit is contained in:
Erik 2026-07-11 08:31:40 +02:00
parent 05f6222865
commit 6fcc510d5d
16 changed files with 535 additions and 164 deletions

View file

@ -907,16 +907,29 @@ UpdateCursorState(): // 0x00564630
UIElementManager.SetCursor(did, hotspot, setAsDefault=true)
```
Production DAT golden values already pinned in tests:
Production DAT golden values pinned by `RetailCursorCatalogTests`:
| Enum | RenderSurface DID |
|---:|---:|
| `0x01` | `0x06004D68` |
| `0x02` | `0x06004D69` |
| `0x03` | `0x06004D6A` |
| `0x04` | `0x06004D6B` |
| `0x05` | `0x06004D6C` |
| `0x06` | `0x06004D6D` |
| `0x0A` | `0x06004D71` |
| `0x0B` | `0x06004D71` |
| `0x0C` | `0x06004D72` |
| `0x0D` | `0x06004D72` |
| `0x0E` | `0x06004D74` |
| `0x0F` | `0x06004D75` |
| `0x27` | `0x06004D73` |
| `0x28` | `0x06005E6B` |
| `0x29` | `0x06005E6A` |
The DIDs for `0x01..0x0F` should be committed as DAT conformance fixtures before
implementation. The enum behavior above is exact even without those media IDs.
DAT enums `0x07..0x09` resolve to `0x06004D6E..0x06004D70`, but no reachable
`UpdateCursorState` branch selects them. They remain intentionally unnamed and
outside the global cursor catalog until a retail call site supplies semantics.
### 10.1 Widget cursor precedence is separate and temporal