Class HeliSabotageConsoleOpenEvent<RoomType>

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

Type Parameters

Hierarchy

  • RevertableEvent
    • HeliSabotageConsoleOpenEvent

Implements

Properties

eventName: "heli.consoles.open"
consoleId: number

The ID of the console that was opened.

eventName: "heli.consoles.open"
helisabotagesystem: HeliSabotageSystem<RoomType>

The heli sabotage system that this event is for.

message: undefined | RepairSystemMessage

The message that this event originated from.

player: PlayerData<RoomType>

The player that opened the console.

reverted: boolean
room: RoomType

The room or client that the event came from.

Accessors

  • get alteredConsoleId(): number
  • The alternate ID of the console that will be opened, if changed.

    Returns number

  • get alteredPlayer(): PlayerData<RoomType>
  • The alterenate player that will open the console, if changed.

    Returns PlayerData<RoomType>

Constructors

Methods

  • Returns void

  • Change the ID of the console that was opened.

    Parameters

    • consoleId: number

      the ID of the conosle to open.

    Returns void

  • Change the player that opened the console.

    Parameters

    • player: PlayerData<RoomType>

      The player to open the console.

    Returns void

Generated using TypeDoc