Class ReactorConsoleRemoveEvent<RoomType>

Emitted when a player places their hand on a reactor console.

Type Parameters

Hierarchy

  • RevertableEvent
    • ReactorConsoleRemoveEvent

Implements

Properties

eventName: "reactor.consoles.remove"
consoleId: number
eventName: "reactor.consoles.remove"
message: undefined | RepairSystemMessage

The message that this event originated from.

player: undefined | PlayerData<RoomType>

The player that removed their hand from the console. Only available if the client is the host.

reactor: ReactorSystem<RoomType>

The reactor system that this event is for.

reverted: boolean
room: RoomType

The room or client that the event came from.

Accessors

  • get alteredConsoleId(): number
  • The ID of the altered console that will be removed instead, if changed.

    Returns number

Constructors

Methods

  • Returns void

  • Change the console that the player removed their hand from.

    Parameters

    • consoleId: number

      The ID of the console to set.

    Returns void

Generated using TypeDoc