Class RoomBeforeDestroyEvent

Emitted just before a room is destroyed.

See RoomDestroyEvent to guarantee that the room has been destroyed and cannot be brought back.

Hierarchy

  • CancelableEvent
    • RoomBeforeDestroyEvent

Properties

Methods

Constructors

Properties

eventName: "room.beforedestroy" = ...
canceled: boolean
eventName: "room.beforedestroy" = ...

Reason for why the room will be destroyed.

room: Room

The room that is being destroyed.

Methods

  • Returns void

Constructors

Generated using TypeDoc