GateInfo
Defined in: client/api.d.ts:7811
A loaded gate of any kind.
Properties
Section titled “Properties”bearing
Section titled “bearing”bearing:
number
Defined in: client/api.d.ts:7840
Relative bearing in degrees; 999 when unknown.
canClose
Section titled “canClose”canClose:
boolean
Defined in: client/api.d.ts:7855
setOpen(selector, false) closes it. False for a crawl grate, whose opening destroys it.
canLock
Section titled “canLock”canLock:
boolean
Defined in: client/api.d.ts:7860
setLocked works on it. Only portcullises have a lock.
cls:
string
Defined in: client/api.d.ts:7820
Actor class name.
dist:
number
Defined in: client/api.d.ts:7835
Distance in centimetres; -1 when unlocated.
hasBeenOpened?
Section titled “hasBeenOpened?”
optionalhasBeenOpened?:boolean
Defined in: client/api.d.ts:7870
Portcullis only: opened or unlocked, so walking up to it raises it.
isLocked
Section titled “isLocked”isLocked:
boolean|null
Defined in: client/api.d.ts:7850
Lock flag; blocks a portcullis’ proximity re-open. Null for a kind without a lock.
isOpen
Section titled “isOpen”isOpen:
boolean
Defined in: client/api.d.ts:7845
Open, or opening. A rune gate reads true once it no longer blocks the way.
kind:
"portcullis"|"runeGate"|"swingGate"|"crawlGrate"
Defined in: client/api.d.ts:7830
Which family of gate, and so which calls it supports.
lift:
number|null
Defined in: client/api.d.ts:7865
How far open: 0 closed, 1 open. Null where the motion cannot be measured.
name:
string
Defined in: client/api.d.ts:7815
Exact actor name.
path:
string
Defined in: client/api.d.ts:7825
Full path name; distinguishes placements sharing a name.
useSchedule?
Section titled “useSchedule?”
optionaluseSchedule?:boolean
Defined in: client/api.d.ts:7875
Portcullis only: still raises at its open hour and lowers at its close hour off this client’s clock.
wantsToOpen?
Section titled “wantsToOpen?”
optionalwantsToOpen?:boolean
Defined in: client/api.d.ts:7880
Portcullis only: stays raised once everyone has walked through; false lowers it a second after the last one leaves.
optionalx?:number
Defined in: client/api.d.ts:7885
World X in centimetres; absent when unlocated.
optionaly?:number
Defined in: client/api.d.ts:7890
World Y in centimetres; absent when unlocated.
optionalz?:number
Defined in: client/api.d.ts:7895
World Z in centimetres; absent when unlocated.