Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SystemSabotageEvent<RoomType>

Emitted when a player sabotages a system.

Type parameters

  • RoomType: Hostable

Hierarchy

Implements

Index

Properties

Static eventName

eventName: "system.sabotage" = ...

eventName

eventName: "system.sabotage" = ...

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.

Readonly system

system: AnySystem<RoomType>

The system that this event is for.

Constructors

constructor

Methods

revert

  • revert(): void

Generated using TypeDoc