Class HeliSabotageConsoleCompleteEvent<RoomType>

Emitted when a player completes a console while the heli is sabotaged on Airship.

Type Parameters

Hierarchy

  • RevertableEvent
    • HeliSabotageConsoleCompleteEvent

Implements

Properties

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

The ID of the console that was completed.

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

The heli sabotage system that this event is for.

message: undefined | RepairSystemMessage

The message that this event originated from.

player: undefined | PlayerData<RoomType>

The player that completed the console. Only availabe if the client is the host.

reverted: boolean
room: RoomType

The room or client that the event came from.

Accessors

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

    Returns number

Constructors

Methods

  • Returns void

  • Change the ID of the console that was completed.

    Parameters

    • consoleId: number

      The ID of the console to complete.

    Returns void

Generated using TypeDoc