get_game_events
Poll custom game events emitted via DevBridge from a running hx-multianim game. Use since_id to fetch only new events and filter by event types.
Instructions
Poll custom game events emitted via DevBridge.emitEvent(name, data) on the Haxe side. Events also arrive in real time as SSE "game_event" notifications. Mirrors the get_debugger_hits cursor pattern: use since_id from the previous response to fetch only new events.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Clear the buffer after reading (default: false) | |
| limit | No | Max events to return (default: 50, max: 200) | |
| types | No | Filter by event names (e.g. ["unit_died", "wave_completed"]). Omit to return all types. | |
| since_id | No | Return only events with id > since_id. Use lastId from a previous response as a cursor. |