Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HeliSabotageConsoleOpenEvent<RoomType>

Emitted when a player opens a heli sabotage console on Airship.

Type parameters

  • RoomType: Hostable

Hierarchy

Implements

Index

Properties

Static eventName

eventName: "heli.consoles.open" = ...

Readonly consoleId

consoleId: number

eventName

eventName: "heli.consoles.open" = ...

Readonly helisabotagesystem

helisabotagesystem: HeliSabotageSystem<RoomType>

The heli sabotage 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