Final docs
This commit is contained in:
+10
-3
@@ -97,6 +97,13 @@ eventSubscribe(&state.onComplete, myHandler, myUserPtr);
|
||||
|
||||
## Where events are used
|
||||
|
||||
- `inputactiondata_t`: `onPressed`, `onReleased` per action
|
||||
- Any engine subsystem that exposes hooks (network connect/disconnect,
|
||||
asset batch completion, etc.)
|
||||
| Subsystem | Event | Fires when |
|
||||
|-----------|-------|-----------|
|
||||
| `inputactiondata_t` | `onPressed`, `onReleased` | Action button state changes |
|
||||
| `uitextbox_t` | `onPageComplete` | Typewriter scroll reveals the full page |
|
||||
| `uitextbox_t` | `onLastPage` | Last page is fully scrolled |
|
||||
| `uifullbox_t` | `onTransitionEnd` | Colour transition animation completes |
|
||||
| `uiloading_t` | `onShow` / `onHide` | Loading indicator fade completes |
|
||||
| Asset system | `assetbatch_t` callback | All entries in a batch reach LOADED/ERROR |
|
||||
|
||||
See `.claude/ui.md` for the UI event details.
|
||||
|
||||
Reference in New Issue
Block a user