|
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 () |
|
vector | OnCancelDown () |
|
bool | OnCancelUp () |
|
void | OnCancelExpired () |
|
◆ HandlerAttachedScripted()
override void SCR_BudgetEditorUIComponent.HandlerAttachedScripted |
( |
Widget |
w | ) |
|
Event called when subcomponent is initialized.
Called only after all other subcomponents were registered as well and can be searched for. To be overwritten by inherited classes.
- Parameters
-
Implements MenuRootSubComponent.
◆ HandlerDeattached()
override void SCR_BudgetEditorUIComponent.HandlerDeattached |
( |
Widget |
w | ) |
|
◆ InitializeBudgets()
void SCR_BudgetEditorUIComponent.InitializeBudgets |
( |
| ) |
|
|
protected |
◆ OnBudgetAdd()
◆ OnBudgetMaxUpdate()
void SCR_BudgetEditorUIComponent.OnBudgetMaxUpdate |
( |
EEditableEntityBudget |
budgetType, |
|
|
int |
currentBudgetValue, |
|
|
int |
maxBudgetValue |
|
) |
| |
|
protected |
◆ OnBudgetPreviewUpdate()
void SCR_BudgetEditorUIComponent.OnBudgetPreviewUpdate |
( |
EEditableEntityBudget |
budgetType, |
|
|
float |
previewBudgetValue, |
|
|
float |
budgetChange |
|
) |
| |
|
protected |
◆ OnBudgetUpdate()
void SCR_BudgetEditorUIComponent.OnBudgetUpdate |
( |
EEditableEntityBudget |
budgetType, |
|
|
int |
originalBudgetValue, |
|
|
int |
updatedBudgetValue, |
|
|
int |
maxBudgetValue |
|
) |
| |
|
protected |
◆ SetBudgetData()
void SCR_BudgetEditorUIComponent.SetBudgetData |
( |
Widget |
budgetWidget, |
|
|
int |
budgetValue, |
|
|
int |
maxBudgetValue, |
|
|
SCR_UIInfo |
info = null |
|
) |
| |
|
protected |
◆ SetBudgetPreviewData()
void SCR_BudgetEditorUIComponent.SetBudgetPreviewData |
( |
Widget |
w, |
|
|
float |
previewBudgetValue, |
|
|
float |
budgetChange |
|
) |
| |
|
protected |
◆ UnregisterEvents()
void SCR_BudgetEditorUIComponent.UnregisterEvents |
( |
| ) |
|
|
protected |
◆ m_BudgetEntryPrefab
ResourceName SCR_BudgetEditorUIComponent.m_BudgetEntryPrefab |
|
protected |
◆ m_BudgetManager
◆ m_BudgetWidgets
ref map<EEditableEntityBudget, Widget> SCR_BudgetEditorUIComponent.m_BudgetWidgets = new map<EEditableEntityBudget, Widget>() |
|
protected |
◆ m_fDisabledOpacity
float SCR_BudgetEditorUIComponent.m_fDisabledOpacity |
|
protected |
◆ m_Layout
Widget SCR_BudgetEditorUIComponent.m_Layout |
|
protected |
◆ WIDGET_BUDGET_ICON
const string SCR_BudgetEditorUIComponent.WIDGET_BUDGET_ICON = "Icon" |
|
static |
◆ WIDGET_BUDGET_PROGRESSBAR
const string SCR_BudgetEditorUIComponent.WIDGET_BUDGET_PROGRESSBAR = "RadialProgressBar" |
|
static |
◆ WIDGET_BUDGET_TEXT
const string SCR_BudgetEditorUIComponent.WIDGET_BUDGET_TEXT = "PercentageText" |
|
static |
◆ WIDGET_BUDGETPREVIEW_TEXT
const string SCR_BudgetEditorUIComponent.WIDGET_BUDGETPREVIEW_TEXT = "Preview" |
|
static |
◆ WIDGET_ICON_AREA
const string SCR_BudgetEditorUIComponent.WIDGET_ICON_AREA = "IconArea" |
|
static |
◆ WIDGET_LOCK_VISUALS
const string SCR_BudgetEditorUIComponent.WIDGET_LOCK_VISUALS = "LockVisuals" |
|
static |
The documentation for this interface was generated from the following file:
- Game/Editor/UI/Components/Common/SCR_BudgetEditorUIComponent.c