LiftState
Defined in: server/api.d.ts:1991
Synchronized state of a lift.
Properties
Section titled “Properties”floor:
number
Defined in: server/api.d.ts:1995
Floor the lift is at, or the floor it left while it is moving. Floor 0 is the lowest.
interactionEnabled
Section titled “interactionEnabled”interactionEnabled:
boolean|null
Defined in: server/api.d.ts:2015
The lift’s button override, or null when the buttons are left as the game sets them up.
moving
Section titled “moving”moving:
boolean
Defined in: server/api.d.ts:2005
Whether the lift is between floors, doors closing included.
remainingMs
Section titled “remainingMs”remainingMs:
number
Defined in: server/api.d.ts:2010
Milliseconds until the current move ends; 0 when the lift is not moving.
targetFloor
Section titled “targetFloor”targetFloor:
number
Defined in: server/api.d.ts:2000
Floor the lift is going to; equal to floor when it is not moving.
