Barotrauma Client Doc
Barotrauma.Store Class Reference

Public Types

enum class  StoreTab { Buy , Sell , SellSub }
 

Public Member Functions

 Store (CampaignUI campaignUI, GUIComponent parentComponent)
 
void SelectStore (Character merchant)
 
void Refresh (bool updateOwned=true)
 
void RefreshItemsToSell ()
 
void RefreshItemsToSellFromSub ()
 
void OnDeselected ()
 
void Update (float deltaTime)
 

Detailed Description

Definition at line 13 of file Store.cs.

Member Enumeration Documentation

◆ StoreTab

Enumerator
Buy 

Buy items from the store

Sell 

Sell items from the character inventory

SellSub 

Sell items from the sub

Definition at line 94 of file Store.cs.

Constructor & Destructor Documentation

◆ Store()

Barotrauma.Store.Store ( CampaignUI  campaignUI,
GUIComponent  parentComponent 
)

Definition at line 187 of file Store.cs.

Member Function Documentation

◆ OnDeselected()

void Barotrauma.Store.OnDeselected ( )

Definition at line 2139 of file Store.cs.

◆ Refresh()

void Barotrauma.Store.Refresh ( bool  updateOwned = true)

Definition at line 278 of file Store.cs.

◆ RefreshItemsToSell()

void Barotrauma.Store.RefreshItemsToSell ( )

Definition at line 1177 of file Store.cs.

◆ RefreshItemsToSellFromSub()

void Barotrauma.Store.RefreshItemsToSellFromSub ( )

Definition at line 1208 of file Store.cs.

◆ SelectStore()

void Barotrauma.Store.SelectStore ( Character  merchant)

Definition at line 212 of file Store.cs.

◆ Update()

void Barotrauma.Store.Update ( float  deltaTime)

Definition at line 2267 of file Store.cs.