Class HeliSabotageConsoleCloseEvent<RoomType>

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

Type Parameters

Hierarchy

  • RevertableEvent
    • HeliSabotageConsoleCloseEvent

Implements

Properties

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

The ID of the console that was closed.

eventName: "heli.consoles.close"
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 closed 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 closed, if changed.

    Returns number

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

    Returns PlayerData<RoomType>

Constructors

Methods

  • Returns void

  • Change the ID of the console that was closed.

    Parameters

    • consoleId: number

      the ID of the conosle to close.

    Returns void

  • Change the player that closed the console.

    Parameters

    • player: PlayerData<RoomType>

      The player to close the console.

    Returns void

Generated using TypeDoc