Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MeetingHudVoteCastEvent<RoomType>

Emitted when a player casts a vote on another player or skips vote in a meeting.

Type parameters

  • RoomType: Hostable

Hierarchy

Implements

Index

Properties

Static eventName

eventName: "meeting.castvote" = ...

eventName

eventName: "meeting.castvote" = ...

Readonly meetinghud

meetinghud: MeetingHud<RoomType>

The meeting handler that this event is for.

Readonly message

message: undefined | CastVoteMessage

The message that this event originated from.

reverted

reverted: boolean

Readonly room

room: RoomType

The room or client that the event came from.

Readonly suspect

suspect: undefined | PlayerData<RoomType>

Readonly voter

voter: PlayerData<RoomType>

Accessors

alteredSuspect

  • get alteredSuspect(): undefined | PlayerData<RoomType>

alteredVoter

  • get alteredVoter(): PlayerData<RoomType>

didSkip

  • get didSkip(): boolean

Constructors

constructor

Methods

revert

  • revert(): void

setSuspect

  • setSuspect(suspect: PlayerData<RoomType>): void

setVoter

  • setVoter(voter: PlayerData<RoomType>): void

Generated using TypeDoc