Skip to content
KCKingdoms Connected Scripting APIScripting guides and API
Data shapeClient APIGenerated

DoorUse

Defined in: client/api.d.ts:1769

The door a player’s use is about, as this machine sees it when they use it.

guid: string

Defined in: client/api.d.ts:1778

The door’s EntityGuid, as sixteen lowercase hex digits: the same value as server-side door.guid.


id: number

Defined in: client/api.d.ts:1773

The server’s door entity, as server-side door.id; 0 when the server has not sent this door yet.


locked: boolean

Defined in: client/api.d.ts:1793

Whether the door is locked on this machine.


name: string

Defined in: client/api.d.ts:1783

The entity name the level gives the door.


open: boolean

Defined in: client/api.d.ts:1788

Whether the door stands open on this machine.