How It Connects
- Install or update the panel definition when the resource is configured.
- On resource start, read every configured door and publish the complete panel state.
- When a player or another script changes a door in-game, publish the new state to CAD.
- Receive pushes for
door.set-lockedanddoors.lock-allactions. Apply them through the door resource, acknowledge them, then republish the authoritative lock state.
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 door lock 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

