Class PlayerVoteArea<RoomType>
Methods
Static Deserialize
-
Type parameters
-
RoomType: Hostable<any, RoomType>
Parameters
setSuspect
- setSuspect(playerId: number): void
Accessors
dirty
- get dirty(): boolean
- set dirty(value: boolean): void
-
Returns boolean
-
Parameters
Returns void
player
- get player(): undefined | PlayerData<RoomType>
-
Returns undefined | PlayerData<RoomType>
votedFor
- get votedFor(): undefined | PlayerData<RoomType>
-
Returns undefined | PlayerData<RoomType>
Constructors
constructor
- new PlayerVoteArea<RoomType>(meetinghud: MeetingHud<RoomType>, playerId: number, votedForId: number, didReport: boolean): PlayerVoteArea<RoomType>
-
Type parameters
-
RoomType: Hostable<any, RoomType>
Parameters
-
meetinghud: MeetingHud<RoomType>
-
playerId: number
-
votedForId: number
-
didReport: boolean
Properties
didReport
didReport: boolean
playerId
playerId: number
votedForId
votedForId: number
Whether this player skipped voting.