Class HqHudConsoleCompleteEvent<RoomType>

Emitted when a player completes a console while communications is sabotaged on Mira HQ.

Type Parameters

Hierarchy

  • RevertableEvent
    • HqHudConsoleCompleteEvent

Implements

Properties

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

The ID of the console that was completed.

eventName: "hqhud.consoles.complete"
hqhudsystem: HqHudSystem<RoomType>

The Mira HQ communications 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

  • Type Parameters

    Parameters

    • room: RoomType
    • hqhudsystem: HqHudSystem<RoomType>
    • message: undefined | RepairSystemMessage
    • player: undefined | PlayerData<RoomType>

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

    • consoleId: number

      The ID of the console that was completed.

    Returns HqHudConsoleCompleteEvent<RoomType>

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