Barotrauma Server Doc
Barotrauma.Voting.SubmarineVote Class Reference
Inheritance diagram for Barotrauma.Voting.SubmarineVote:
Barotrauma.Voting.IVote

Public Member Functions

 SubmarineVote (Client starter, SubmarineInfo subInfo, bool transferItems, VoteType voteType)
 
void Finish (Voting voting, bool passed)
 

Public Attributes

SubmarineInfo Sub
 
bool TransferItems
 

Properties

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

Detailed Description

Constructor & Destructor Documentation

◆ SubmarineVote()

Barotrauma.Voting.SubmarineVote.SubmarineVote ( Client  starter,
SubmarineInfo  subInfo,
bool  transferItems,
VoteType  voteType 
)

Member Function Documentation

◆ Finish()

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

Member Data Documentation

◆ Sub

SubmarineInfo Barotrauma.Voting.SubmarineVote.Sub

◆ TransferItems

bool Barotrauma.Voting.SubmarineVote.TransferItems

Property Documentation

◆ State

VoteState Barotrauma.Voting.SubmarineVote.State
getset

◆ Timer

float Barotrauma.Voting.SubmarineVote.Timer
getset

◆ VoteStarter

Client Barotrauma.Voting.SubmarineVote.VoteStarter
get

◆ VoteType

VoteType Barotrauma.Voting.SubmarineVote.VoteType
get