LocalHazard
Defined in: client/api.d.ts:4076
A server hazard zone the local player stands in, as the server last reported it.
Properties
Section titled “Properties”damagePerSecond
Section titled “damagePerSecond”
readonlydamagePerSecond:number
Defined in: client/api.d.ts:4090
Health it takes per second while exposed.
exposed
Section titled “exposed”
readonlyexposed:boolean
Defined in: client/api.d.ts:4085
Whether it is hurting the player: inside and unprotected.
readonlyfog:boolean
Defined in: client/api.d.ts:4095
Whether it lays fog.
readonlytint:boolean
Defined in: client/api.d.ts:4100
Whether it tints the camera.
zoneId
Section titled “zoneId”
readonlyzoneId:number
Defined in: client/api.d.ts:4080
The server zone’s id, as Zone.id reads on the server.