Barotrauma Client Doc
Barotrauma.CampaignUI Class Reference

Classes

struct  PlayerBalanceElement
 

Public Member Functions

 CampaignUI (CampaignMode campaign, GUIComponent container)
 
GUIComponent GetTabContainer (CampaignMode.InteractionType tab)
 
void Update (float deltaTime)
 
void RefreshLocationInfo ()
 
void SelectLocation (Location location, LocationConnection connection)
 
void SelectTab (CampaignMode.InteractionType tab, Character npc=null)
 

Static Public Member Functions

static LocalizedString GetMoney ()
 
static LocalizedString GetTotalBalance ()
 
static LocalizedString GetBankBalance ()
 
static LocalizedString GetWalletBalance ()
 
static ? PlayerBalanceElement AddBalanceElement (GUIComponent elementParent, Vector2 relativeSize)
 
static ? PlayerBalanceElement UpdateBalanceElement (PlayerBalanceElement? playerBalanceElement)
 

Public Attributes

Action StartRound
 

Properties

CampaignMode.InteractionType SelectedTab [get]
 
LevelData SelectedLevel [get]
 
CampaignMode Campaign [get]
 
CrewManagement CrewManagement [get, set]
 
Store Store [get]
 
UpgradeStore UpgradeStore [get, set]
 
MedicalClinicUI MedicalClinic [get, set]
 

Detailed Description

Definition at line 12 of file CampaignUI.cs.

Constructor & Destructor Documentation

◆ CampaignUI()

Barotrauma.CampaignUI.CampaignUI ( CampaignMode  campaign,
GUIComponent  container 
)

Definition at line 50 of file CampaignUI.cs.

Member Function Documentation

◆ AddBalanceElement()

static ? PlayerBalanceElement Barotrauma.CampaignUI.AddBalanceElement ( GUIComponent  elementParent,
Vector2  relativeSize 
)
static

Definition at line 669 of file CampaignUI.cs.

◆ GetBankBalance()

static LocalizedString Barotrauma.CampaignUI.GetBankBalance ( )
static

Definition at line 630 of file CampaignUI.cs.

◆ GetMoney()

static LocalizedString Barotrauma.CampaignUI.GetMoney ( )
static

Definition at line 620 of file CampaignUI.cs.

◆ GetTabContainer()

GUIComponent Barotrauma.CampaignUI.GetTabContainer ( CampaignMode.InteractionType  tab)

Definition at line 153 of file CampaignUI.cs.

◆ GetTotalBalance()

static LocalizedString Barotrauma.CampaignUI.GetTotalBalance ( )
static

Definition at line 625 of file CampaignUI.cs.

◆ GetWalletBalance()

static LocalizedString Barotrauma.CampaignUI.GetWalletBalance ( )
static

Definition at line 635 of file CampaignUI.cs.

◆ RefreshLocationInfo()

void Barotrauma.CampaignUI.RefreshLocationInfo ( )

Definition at line 224 of file CampaignUI.cs.

◆ SelectLocation()

void Barotrauma.CampaignUI.SelectLocation ( Location  location,
LocationConnection  connection 
)

Definition at line 232 of file CampaignUI.cs.

◆ SelectTab()

void Barotrauma.CampaignUI.SelectTab ( CampaignMode.InteractionType  tab,
Character  npc = null 
)

Definition at line 577 of file CampaignUI.cs.

◆ Update()

void Barotrauma.CampaignUI.Update ( float  deltaTime)

Definition at line 199 of file CampaignUI.cs.

◆ UpdateBalanceElement()

static ? PlayerBalanceElement Barotrauma.CampaignUI.UpdateBalanceElement ( PlayerBalanceElement playerBalanceElement)
static

Definition at line 717 of file CampaignUI.cs.

Member Data Documentation

◆ StartRound

Action Barotrauma.CampaignUI.StartRound

Definition at line 34 of file CampaignUI.cs.

Property Documentation

◆ Campaign

CampaignMode Barotrauma.CampaignUI.Campaign
get

Definition at line 40 of file CampaignUI.cs.

◆ CrewManagement

CrewManagement Barotrauma.CampaignUI.CrewManagement
getset

Definition at line 42 of file CampaignUI.cs.

◆ MedicalClinic

MedicalClinicUI Barotrauma.CampaignUI.MedicalClinic
getset

Definition at line 48 of file CampaignUI.cs.

◆ SelectedLevel

LevelData Barotrauma.CampaignUI.SelectedLevel
get

Definition at line 36 of file CampaignUI.cs.

◆ SelectedTab

CampaignMode.InteractionType Barotrauma.CampaignUI.SelectedTab
get

Definition at line 18 of file CampaignUI.cs.

◆ Store

Store Barotrauma.CampaignUI.Store
get

Definition at line 44 of file CampaignUI.cs.

◆ UpgradeStore

UpgradeStore Barotrauma.CampaignUI.UpgradeStore
getset

Definition at line 46 of file CampaignUI.cs.