DoorInfo
Defined in: client/api.d.ts:2823
A loaded physical door near the local player.
Properties
Section titled “Properties”bearing
Section titled “bearing”bearing:
number
Defined in: client/api.d.ts:2847
Relative bearing in degrees.
child?
Section titled “child?”
optionalchild?:string
Defined in: client/api.d.ts:2887
Persistent id of the linked leaf of a double door, which unlocks whenever this one does; empty when unlinked. Doors only.
cls:
string
Defined in: client/api.d.ts:2832
Actor class name.
dist:
number
Defined in: client/api.d.ts:2842
Distance in centimetres.
id:
string
Defined in: client/api.d.ts:2867
Persistent id <name>:<guid>, unique where names repeat. Empty for a lockable that is not a door.
keepOpen?
Section titled “keepOpen?”
optionalkeepOpen?:boolean
Defined in: client/api.d.ts:2882
Held open rather than closing on its own. Doors only.
locked
Section titled “locked”locked:
boolean
Defined in: client/api.d.ts:2872
Any lock on it is locked. Never true for a lockable carrying no lock.
lockLevel?
Section titled “lockLevel?”
optionallockLevel?:2|1|3|"key"
Defined in: client/api.d.ts:2892
Alohomora level its padlocks ask for, or “key” when only a key opens them. Padlocked doors only.
name:
string
Defined in: client/api.d.ts:2827
Exact actor name.
optionalopen?:boolean
Defined in: client/api.d.ts:2877
Swung open, or swinging. Doors only.
path:
string
Defined in: client/api.d.ts:2837
Full asset path; distinguishes placements sharing a name. Empty if unresolved.
optionalx?:number
Defined in: client/api.d.ts:2852
World X in centimetres; absent when unlocated.
optionaly?:number
Defined in: client/api.d.ts:2857
World Y in centimetres; absent when unlocated.
optionalz?:number
Defined in: client/api.d.ts:2862
World Z in centimetres; absent when unlocated.