Struct VoteSettings
Settings used to start votes for IPlayerVoteManager.
public readonly struct VoteSettings
- Inherited Members
Properties
DefaultResult
The vote result in the case of a tie (or no one votes).
public VoteResult DefaultResult { get; init; }
Property Value
Remarks
Defaults to No.
Display
Allows the vote to be displayed somehow.
public IVoteDisplay? Display { get; init; }
Property Value
Duration
Total duration of the vote.
public required TimeSpan Duration { get; init; }
Property Value
OwnsDisplay
Whether or not Display should be disposed at the end of this vote, if it implements IDisposable.
public bool OwnsDisplay { get; init; }
Property Value
VoteCancellationToken
Cancellation used to cancel the vote.
public CancellationToken VoteCancellationToken { get; init; }