Barotrauma Server
Loading...
Searching...
No Matches
Barotrauma.Voting.TransferVote Class Reference
Inheritance diagram for Barotrauma.Voting.TransferVote:
Barotrauma.Voting.IVote

Public Member Functions

 TransferVote (Client starter, Client from, int transferAmount, Client to)
 
void Finish (Voting voting, bool passed)
 
- Public Member Functions inherited from Barotrauma.Voting.IVote

Public Attributes

readonly Client From
 
readonly Client To
 
readonly int TransferAmount
 

Properties

Client VoteStarter [get]
 
VoteType VoteType [get]
 
float Timer [get, set]
 
VoteState State [get, set]
 
- Properties inherited from Barotrauma.Voting.IVote

Constructor & Destructor Documentation

◆ TransferVote()

Barotrauma.Voting.TransferVote.TransferVote ( Client starter,
Client from,
int transferAmount,
Client to )

Member Function Documentation

◆ Finish()

void Barotrauma.Voting.TransferVote.Finish ( Voting voting,
bool passed )

Member Data Documentation

◆ From

readonly Client Barotrauma.Voting.TransferVote.From

◆ To

readonly Client Barotrauma.Voting.TransferVote.To

◆ TransferAmount

readonly int Barotrauma.Voting.TransferVote.TransferAmount

Property Documentation

◆ State

VoteState Barotrauma.Voting.TransferVote.State
getset

◆ Timer

float Barotrauma.Voting.TransferVote.Timer
getset

◆ VoteStarter

Client Barotrauma.Voting.TransferVote.VoteStarter
get

◆ VoteType

VoteType Barotrauma.Voting.TransferVote.VoteType
get

The documentation for this class was generated from the following file: