Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ReactorConsoleAddEvent<RoomType>

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

Type parameters

  • RoomType: Hostable

Hierarchy

Implements

Index

Properties

Static eventName

eventName: "reactor.consoles.add" = ...

Readonly consoleId

consoleId: number

eventName

eventName: "reactor.consoles.add" = ...

Readonly message

message: undefined | RepairSystemMessage

The message that this event originated from.

Readonly player

player: undefined | PlayerData<RoomType>

Readonly reactor

reactor: ReactorSystem<RoomType>

The reactor system that this event is for.

reverted

reverted: boolean

Readonly room

room: RoomType

The room or client that the event came from.

Accessors

alteredConsoleId

  • get alteredConsoleId(): number

Constructors

constructor

Methods

revert

  • revert(): void

setConsole

  • setConsole(consoleId: number): void

Generated using TypeDoc