◆ VoteState
Enumerator |
---|
None | |
Started | |
Running | |
Passed | |
Failed | |
◆ HighestVoted< T >() [1/2]
static T Barotrauma.Voting.HighestVoted< T > |
( |
VoteType | voteType, |
|
|
IEnumerable< Client > | voters ) |
|
static |
◆ HighestVoted< T >() [2/2]
static T Barotrauma.Voting.HighestVoted< T > |
( |
VoteType | voteType, |
|
|
IEnumerable< Client > | voters, |
|
|
out int | voteCount ) |
|
static |
◆ RegisterRejectedVote()
void Barotrauma.Voting.RegisterRejectedVote |
( |
IVote | vote | ) |
|
|
protected |
◆ ResetVotes()
static void Barotrauma.Voting.ResetVotes |
( |
IEnumerable< Client > | connectedClients, |
|
|
bool | resetKickVotes ) |
|
static |
◆ ServerRead()
void Barotrauma.Voting.ServerRead |
( |
IReadMessage | inc, |
|
|
Client | sender, |
|
|
DoSProtection | dosProtection ) |
◆ ServerWrite()
◆ StartTransferVote()
void Barotrauma.Voting.StartTransferVote |
( |
Client | starter, |
|
|
Client | from, |
|
|
int | transferAmount, |
|
|
Client | to ) |
◆ StopActiveVote()
void Barotrauma.Voting.StopActiveVote |
( |
bool | passed | ) |
|
◆ StopMoneyTransferVote()
void Barotrauma.Voting.StopMoneyTransferVote |
( |
bool | passed | ) |
|
◆ StopSubmarineVote()
void Barotrauma.Voting.StopSubmarineVote |
( |
bool | passed | ) |
|
◆ Update()
void Barotrauma.Voting.Update |
( |
float | deltaTime | ) |
|
◆ ActiveVote
IVote Barotrauma.Voting.ActiveVote |
|
static |
The documentation for this class was generated from the following files:
- /home/runner/work/Luatrauma.Docs/Luatrauma.Docs/libs/LuaCsForBarotrauma/Barotrauma/BarotraumaShared/SharedSource/Networking/Voting.cs
- /home/runner/work/Luatrauma.Docs/Luatrauma.Docs/libs/LuaCsForBarotrauma/Barotrauma/BarotraumaServer/ServerSource/Networking/Voting.cs