Barotrauma Client Doc
Barotrauma.SubmarineSelection Class Reference

Public Member Functions

 SubmarineSelection (bool transfer, Action closeAction, RectTransform parent)
 
void Update ()
 
void RefreshSubmarineDisplay (bool updateSubs, bool setTransferOptionToTrue=false)
 

Static Public Member Functions

static SubmarineInfo CurrentOrPendingSubmarine ()
 

Public Attributes

GUIFrame GuiFrame
 

Static Public Attributes

static bool ContentRefreshRequired = false
 

Detailed Description

Definition at line 11 of file SubmarineSelection.cs.

Constructor & Destructor Documentation

◆ SubmarineSelection()

Barotrauma.SubmarineSelection.SubmarineSelection ( bool  transfer,
Action  closeAction,
RectTransform  parent 
)

Definition at line 80 of file SubmarineSelection.cs.

Member Function Documentation

◆ CurrentOrPendingSubmarine()

static SubmarineInfo Barotrauma.SubmarineSelection.CurrentOrPendingSubmarine ( )
static

Definition at line 657 of file SubmarineSelection.cs.

◆ RefreshSubmarineDisplay()

void Barotrauma.SubmarineSelection.RefreshSubmarineDisplay ( bool  updateSubs,
bool  setTransferOptionToTrue = false 
)

Definition at line 309 of file SubmarineSelection.cs.

◆ Update()

void Barotrauma.SubmarineSelection.Update ( )

Definition at line 287 of file SubmarineSelection.cs.

Member Data Documentation

◆ ContentRefreshRequired

bool Barotrauma.SubmarineSelection.ContentRefreshRequired = false
static

Definition at line 42 of file SubmarineSelection.cs.

◆ GuiFrame

GUIFrame Barotrauma.SubmarineSelection.GuiFrame

Definition at line 19 of file SubmarineSelection.cs.