Class MedScanLeaveQueueEvent<RoomType>

Emitted when a player leaves the queue for a med scan.

Type Parameters

Hierarchy

  • RevertableEvent
    • MedScanLeaveQueueEvent

Implements

Properties

eventName: "medscan.leavequeue"
eventName: "medscan.leavequeue"
medscan: MedScanSystem<RoomType>

The med scan system that this event is for.

message: undefined | RepairSystemMessage

The message that this event originated from.

player: PlayerData<RoomType>

The player that left the queue.

reverted: boolean
room: RoomType

The room or client that the event came from.

Accessors

  • get alteredPlayer(): PlayerData<RoomType>
  • The alternate player that will leave the queue instead, if changed.

    Returns PlayerData<RoomType>

Constructors

Methods

  • Returns void

  • Change the player that left the queue.

    Parameters

    • player: PlayerData<RoomType>

      The player that left the queue.

    Returns void

Generated using TypeDoc