Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HqHudConsoleOpenEvent<RoomType>

Emitted when a player opens a communications console on Mira HQ.

Type parameters

  • RoomType: Hostable

Hierarchy

Implements

Index

Properties

Static eventName

eventName: "hqhud.consoles.open" = ...

Readonly consoleId

consoleId: number

eventName

eventName: "hqhud.consoles.open" = ...

Readonly hqhudsystem

hqhudsystem: HqHudSystem<RoomType>

The Mira HQ communications system that this event is for.

Readonly message

message: undefined | RepairSystemMessage

The message that this event originated from.

Readonly player

player: PlayerData<RoomType>

reverted

reverted: boolean

Readonly room

room: RoomType

The room or client that the event came from.

Accessors

alteredConsoleId

  • get alteredConsoleId(): number

alteredPlayer

  • get alteredPlayer(): PlayerData<RoomType>

Constructors

constructor

Methods

revert

  • revert(): void

setConsoleId

  • setConsoleId(consoleId: number): void

setPlayer

  • setPlayer(player: PlayerData<RoomType>): void

Generated using TypeDoc