Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_BudgetEditorUIComponent Class Reference
Inheritance diagram for SCR_BudgetEditorUIComponent:
SCR_BaseEditorUIComponent SCR_CampaignBuildingBudgetEditorUIComponent

Protected Member Functions

void OnBudgetMaxUpdate (EEditableEntityBudget budgetType, int currentBudgetValue, int maxBudgetValue)
void OnBudgetUpdate (EEditableEntityBudget budgetType, int originalBudgetValue, int updatedBudgetValue, int maxBudgetValue)
void OnBudgetAdd (SCR_EditableEntityCoreBudgetSetting budget, int maxBudget)
void OnBudgetPreviewUpdate (EEditableEntityBudget budgetType, float previewBudgetValue, float budgetChange)
void InitializeBudgets ()
void SetBudgetData (Widget budgetWidget, int budgetValue, int maxBudgetValue, SCR_UIInfo info=null)
void SetBudgetPreviewData (Widget w, float previewBudgetValue, float budgetChange)
void UnregisterEvents ()
override void HandlerAttachedScripted (Widget w)
override void HandlerDeattached (Widget w)

Protected Attributes

float m_fDisabledOpacity
const string WIDGET_BUDGET_TEXT = "PercentageText"
const string WIDGET_BUDGET_ICON = "Icon"
const string WIDGET_BUDGET_PROGRESSBAR = "RadialProgressBar"
const string WIDGET_BUDGETPREVIEW_TEXT = "Preview"
const string WIDGET_ICON_AREA = "IconArea"
const string WIDGET_LOCK_VISUALS = "LockVisuals"
SCR_BudgetEditorComponent m_BudgetManager
ResourceName m_BudgetEntryPrefab
Widget m_Layout
ref map< EEditableEntityBudget, Widgetm_BudgetWidgets = new map<EEditableEntityBudget, Widget>()

Detailed Description

Definition at line 1 of file SCR_BudgetEditorUIComponent.c.

Member Function Documentation

◆ HandlerAttachedScripted()

override void SCR_BudgetEditorUIComponent::HandlerAttachedScripted ( Widget w)
inlineprotected

Definition at line 207 of file SCR_BudgetEditorUIComponent.c.

◆ HandlerDeattached()

override void SCR_BudgetEditorUIComponent::HandlerDeattached ( Widget w)
inlineprotected

Definition at line 240 of file SCR_BudgetEditorUIComponent.c.

◆ InitializeBudgets()

void SCR_BudgetEditorUIComponent::InitializeBudgets ( )
inlineprotected

Definition at line 68 of file SCR_BudgetEditorUIComponent.c.

◆ OnBudgetAdd()

void SCR_BudgetEditorUIComponent::OnBudgetAdd ( SCR_EditableEntityCoreBudgetSetting budget,
int maxBudget )
inlineprotected

Definition at line 43 of file SCR_BudgetEditorUIComponent.c.

◆ OnBudgetMaxUpdate()

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

Definition at line 21 of file SCR_BudgetEditorUIComponent.c.

◆ OnBudgetPreviewUpdate()

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

Definition at line 60 of file SCR_BudgetEditorUIComponent.c.

◆ OnBudgetUpdate()

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

Definition at line 32 of file SCR_BudgetEditorUIComponent.c.

◆ SetBudgetData()

void SCR_BudgetEditorUIComponent::SetBudgetData ( Widget budgetWidget,
int budgetValue,
int maxBudgetValue,
SCR_UIInfo info = null )
inlineprotected

Definition at line 83 of file SCR_BudgetEditorUIComponent.c.

◆ SetBudgetPreviewData()

void SCR_BudgetEditorUIComponent::SetBudgetPreviewData ( Widget w,
float previewBudgetValue,
float budgetChange )
inlineprotected

Definition at line 136 of file SCR_BudgetEditorUIComponent.c.

◆ UnregisterEvents()

void SCR_BudgetEditorUIComponent::UnregisterEvents ( )
inlineprotected

Definition at line 195 of file SCR_BudgetEditorUIComponent.c.

Member Data Documentation

◆ m_BudgetEntryPrefab

ResourceName SCR_BudgetEditorUIComponent::m_BudgetEntryPrefab
protected

Definition at line 14 of file SCR_BudgetEditorUIComponent.c.

◆ m_BudgetManager

SCR_BudgetEditorComponent SCR_BudgetEditorUIComponent::m_BudgetManager
protected

Definition at line 13 of file SCR_BudgetEditorUIComponent.c.

◆ m_BudgetWidgets

ref map<EEditableEntityBudget, Widget> SCR_BudgetEditorUIComponent::m_BudgetWidgets = new map<EEditableEntityBudget, Widget>()
protected

Definition at line 18 of file SCR_BudgetEditorUIComponent.c.

◆ m_fDisabledOpacity

float SCR_BudgetEditorUIComponent::m_fDisabledOpacity
protected

Definition at line 4 of file SCR_BudgetEditorUIComponent.c.

◆ m_Layout

Widget SCR_BudgetEditorUIComponent::m_Layout
protected

Definition at line 16 of file SCR_BudgetEditorUIComponent.c.

◆ WIDGET_BUDGET_ICON

const string SCR_BudgetEditorUIComponent::WIDGET_BUDGET_ICON = "Icon"
protected

Definition at line 7 of file SCR_BudgetEditorUIComponent.c.

◆ WIDGET_BUDGET_PROGRESSBAR

const string SCR_BudgetEditorUIComponent::WIDGET_BUDGET_PROGRESSBAR = "RadialProgressBar"
protected

Definition at line 8 of file SCR_BudgetEditorUIComponent.c.

◆ WIDGET_BUDGET_TEXT

const string SCR_BudgetEditorUIComponent::WIDGET_BUDGET_TEXT = "PercentageText"
protected

Definition at line 6 of file SCR_BudgetEditorUIComponent.c.

◆ WIDGET_BUDGETPREVIEW_TEXT

const string SCR_BudgetEditorUIComponent::WIDGET_BUDGETPREVIEW_TEXT = "Preview"
protected

Definition at line 9 of file SCR_BudgetEditorUIComponent.c.

◆ WIDGET_ICON_AREA

const string SCR_BudgetEditorUIComponent::WIDGET_ICON_AREA = "IconArea"
protected

Definition at line 10 of file SCR_BudgetEditorUIComponent.c.

◆ WIDGET_LOCK_VISUALS

const string SCR_BudgetEditorUIComponent::WIDGET_LOCK_VISUALS = "LockVisuals"
protected

Definition at line 11 of file SCR_BudgetEditorUIComponent.c.


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