Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PlayerVoteArea<RoomType>

Type parameters

  • RoomType: Hostable

Hierarchy

  • PlayerVoteArea

Index

Methods

Static Deserialize

Serialize

clearVote

  • clearVote(): void

setMissed

  • setMissed(): void

setSkipped

  • setSkipped(): void

setSuspect

  • setSuspect(playerId: number): void

Accessors

canVote

  • get canVote(): boolean

didSkip

  • get didSkip(): boolean

dirty

  • get dirty(): boolean
  • set dirty(value: boolean): void

hasVoted

  • get hasVoted(): boolean

player

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

votedFor

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

Constructors

constructor

  • new PlayerVoteArea<RoomType>(meetinghud: MeetingHud<RoomType>, playerId: number, votedForId: number, didReport: boolean): PlayerVoteArea<RoomType>

Properties

didReport

didReport: boolean

Readonly meetinghud

meetinghud: MeetingHud<RoomType>

playerId

playerId: number

votedForId

votedForId: number

Generated using TypeDoc