Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_BudgetUIComponent Class Reference

Component to display budget progress. More...

Inheritance diagram for SCR_BudgetUIComponent:
SCR_BaseEditorUIComponent

Protected Member Functions

override void HandlerAttachedScripted (Widget w)
override void HandlerDeattached (Widget w)
bool IsUnique ()
void InitializeBudgets ()
void OnBudgetUpdate (EEditableEntityBudget budgetType, int originalBudgetValue, int updatedBudgetValue, int maxBudgetValue)
void OnBudgetMaxUpdate (EEditableEntityBudget budgetType, int currentBudgetValue, int maxBudgetValue)
void OnBudgetPreviewUpdate (EEditableEntityBudget budgetType, float previewBudgetValue, float budgetChange)
void ResetWidgetPreviewData ()
void SetBudgetUIIcon (EEditableEntityBudget budgetType)
 Load icon of given budget from budgetUI and set it.
void SetBudgetType (EEditableEntityBudget type)
 Set a budget which will will be used in UI of provider detail.
EEditableEntityBudget GetBudgetType ()
SCR_BudgetProgressEditorUIComponent GetUIComponent ()

Protected Attributes

EEditableEntityBudget m_BudgetType
string m_sBudgetProgressRoot
SCR_CampaignBuildingEditorComponent m_CampaignBuildingComponent
SCR_BudgetEditorComponent m_BudgetManager
SCR_BudgetProgressEditorUIComponent m_BudgetProgress
int m_iCurrentBudget
int m_iMaxBudget
const int INVALID_BUDGET = -1

Detailed Description

Component to display budget progress.

Definition at line 2 of file SCR_BudgetUIComponent.c.

Member Function Documentation

◆ GetBudgetType()

EEditableEntityBudget SCR_BudgetUIComponent::GetBudgetType ( )
inlineprotected

Definition at line 170 of file SCR_BudgetUIComponent.c.

◆ GetUIComponent()

SCR_BudgetProgressEditorUIComponent SCR_BudgetUIComponent::GetUIComponent ( )
inlineprotected

Definition at line 176 of file SCR_BudgetUIComponent.c.

◆ HandlerAttachedScripted()

override void SCR_BudgetUIComponent::HandlerAttachedScripted ( Widget w)
inlineprotected

Definition at line 23 of file SCR_BudgetUIComponent.c.

◆ HandlerDeattached()

override void SCR_BudgetUIComponent::HandlerDeattached ( Widget w)
inlineprotected

Definition at line 48 of file SCR_BudgetUIComponent.c.

◆ InitializeBudgets()

void SCR_BudgetUIComponent::InitializeBudgets ( )
inlineprotected

Definition at line 70 of file SCR_BudgetUIComponent.c.

◆ IsUnique()

bool SCR_BudgetUIComponent::IsUnique ( )
inlineprotected

Definition at line 60 of file SCR_BudgetUIComponent.c.

◆ OnBudgetMaxUpdate()

void SCR_BudgetUIComponent::OnBudgetMaxUpdate ( EEditableEntityBudget budgetType,
int currentBudgetValue,
int maxBudgetValue )
inlineprotected

Definition at line 119 of file SCR_BudgetUIComponent.c.

◆ OnBudgetPreviewUpdate()

void SCR_BudgetUIComponent::OnBudgetPreviewUpdate ( EEditableEntityBudget budgetType,
float previewBudgetValue,
float budgetChange )
inlineprotected

Definition at line 125 of file SCR_BudgetUIComponent.c.

◆ OnBudgetUpdate()

void SCR_BudgetUIComponent::OnBudgetUpdate ( EEditableEntityBudget budgetType,
int originalBudgetValue,
int updatedBudgetValue,
int maxBudgetValue )
inlineprotected

Definition at line 109 of file SCR_BudgetUIComponent.c.

◆ ResetWidgetPreviewData()

void SCR_BudgetUIComponent::ResetWidgetPreviewData ( )
inlineprotected

Definition at line 134 of file SCR_BudgetUIComponent.c.

◆ SetBudgetType()

void SCR_BudgetUIComponent::SetBudgetType ( EEditableEntityBudget type)
inlineprotected

Set a budget which will will be used in UI of provider detail.

Definition at line 163 of file SCR_BudgetUIComponent.c.

◆ SetBudgetUIIcon()

void SCR_BudgetUIComponent::SetBudgetUIIcon ( EEditableEntityBudget budgetType)
inlineprotected

Load icon of given budget from budgetUI and set it.

Definition at line 141 of file SCR_BudgetUIComponent.c.

Member Data Documentation

◆ INVALID_BUDGET

const int SCR_BudgetUIComponent::INVALID_BUDGET = -1
protected

Definition at line 16 of file SCR_BudgetUIComponent.c.

◆ m_BudgetManager

SCR_BudgetEditorComponent SCR_BudgetUIComponent::m_BudgetManager
protected

Definition at line 11 of file SCR_BudgetUIComponent.c.

◆ m_BudgetProgress

SCR_BudgetProgressEditorUIComponent SCR_BudgetUIComponent::m_BudgetProgress
protected

Definition at line 12 of file SCR_BudgetUIComponent.c.

◆ m_BudgetType

EEditableEntityBudget SCR_BudgetUIComponent::m_BudgetType
protected

Definition at line 5 of file SCR_BudgetUIComponent.c.

◆ m_CampaignBuildingComponent

SCR_CampaignBuildingEditorComponent SCR_BudgetUIComponent::m_CampaignBuildingComponent
protected

Definition at line 10 of file SCR_BudgetUIComponent.c.

◆ m_iCurrentBudget

int SCR_BudgetUIComponent::m_iCurrentBudget
protected

Definition at line 14 of file SCR_BudgetUIComponent.c.

◆ m_iMaxBudget

int SCR_BudgetUIComponent::m_iMaxBudget
protected

Definition at line 15 of file SCR_BudgetUIComponent.c.

◆ m_sBudgetProgressRoot

string SCR_BudgetUIComponent::m_sBudgetProgressRoot
protected

Definition at line 8 of file SCR_BudgetUIComponent.c.


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