How It Connects
- Install or update the panel definition when the resource is configured.
- On resource start, read every alarm controller and publish the complete panel state.
- When an alarm changes in-game, publish the new state. Connected CAD clients update immediately.
- Receive pushes for
alarm.set-activeactions. Apply each action through the alarm resource, acknowledge it, then publish the authoritative state again.
Game-Side Outline
Push is the primary delivery path. The scheduling andprocessPanelActionOnce functions below are pseudocode supplied by your integration; they are not SDK helpers. processPanelActionOnce records the completed result, acknowledges it, retries failed acknowledgements without repeating the effect, and returns true only after acknowledgement succeeds. Use one serial queue for both paths and keep the backup polling cursor separate from pushed actions. See Action Push Events for routing, deduplication, acknowledgement, and recovery rules.
The following is server-side pseudocode. Adapt the events and function names to your alarm resource and preferred API library.
Actions
Definition JSON
Open the raw definitionCopy the complete definition
Copy the complete definition
Example State
Open the raw stateCopy the example state
Copy the example state

