Class SystemSabotageEvent<RoomType>

Emitted when a player sabotages a system.

Type Parameters

Hierarchy

  • RevertableEvent
    • SystemSabotageEvent

Implements

Properties

eventName: "system.sabotage"
eventName: "system.sabotage"
message: undefined | RepairSystemMessage

The message that this event originated from.

player: undefined | PlayerData<RoomType>
reverted: boolean
room: RoomType

The room or client that the event came from.

system: AnySystem<RoomType>

The system that this event is for.

Constructors

Methods

  • Returns void

Generated using TypeDoc