Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DoorsDoorOpenEvent<RoomType>

Emitted when a door is opened either by a player opening it manually, i.e. the doors on Polus, or opened automatically after some time, i.e. the doors on The Skeld.

Type parameters

  • RoomType: Hostable

Hierarchy

Implements

Index

Properties

Static eventName

eventName: "doors.open" = ...

Readonly door

door: Door<RoomType>

Readonly doorsystem

doorsystem: AutoDoorsSystem<RoomType> | DoorsSystem<RoomType> | ElectricalDoorsSystem<RoomType>

The door system that the door is in.

eventName

eventName: "doors.open" = ...

Readonly message

message: undefined | RepairSystemMessage

The message that this event originated from.

Readonly player

player: undefined | PlayerData<RoomType>

reverted

reverted: boolean

Readonly room

room: RoomType

The room or client that the event came from.

Accessors

alteredDoor

  • get alteredDoor(): Door<RoomType>

Constructors

constructor

Methods

revert

  • revert(): void

setDoor

  • setDoor(door: number | Door<RoomType>): void

Generated using TypeDoc