|
void | Update (float deltaTime) |
|
void | EndVote (bool passed, int yesVoteFinal, int noVoteFinal) |
|
void | Remove () |
|
|
static VotingInterface | CreateSubmarineVotingInterface (Client starter, SubmarineInfo info, VoteType type, bool transferItems, float votingTime) |
|
static VotingInterface | CreateMoneyTransferVotingInterface (Client starter, Client from, Client to, int amount, float votingTime) |
|
static LocalizedString | GetMoneyTransferVoteResultMessage (Client from, Client to, int transferAmount, int yesVoteCount, int noVoteCount, bool votePassed) |
|
Definition at line 8 of file VotingInterface.cs.
◆ CreateMoneyTransferVotingInterface()
◆ CreateSubmarineVotingInterface()
static VotingInterface Barotrauma.VotingInterface.CreateSubmarineVotingInterface |
( |
Client |
starter, |
|
|
SubmarineInfo |
info, |
|
|
VoteType |
type, |
|
|
bool |
transferItems, |
|
|
float |
votingTime |
|
) |
| |
|
static |
◆ EndVote()
void Barotrauma.VotingInterface.EndVote |
( |
bool |
passed, |
|
|
int |
yesVoteFinal, |
|
|
int |
noVoteFinal |
|
) |
| |
◆ GetMoneyTransferVoteResultMessage()
static LocalizedString Barotrauma.VotingInterface.GetMoneyTransferVoteResultMessage |
( |
Client |
from, |
|
|
Client |
to, |
|
|
int |
transferAmount, |
|
|
int |
yesVoteCount, |
|
|
int |
noVoteCount, |
|
|
bool |
votePassed |
|
) |
| |
|
static |
◆ Remove()
void Barotrauma.VotingInterface.Remove |
( |
| ) |
|
◆ Update()
void Barotrauma.VotingInterface.Update |
( |
float |
deltaTime | ) |
|
◆ VoteRunning
bool Barotrauma.VotingInterface.VoteRunning = false |
◆ TimedOut
bool Barotrauma.VotingInterface.TimedOut |
|
get |