Arma Reforger Script API
|
Component to display budget progress. More...
Public Member Functions | |
override void | HandlerAttachedScripted (Widget w) |
Event called when subcomponent is initialized. | |
override void | HandlerDeattached (Widget w) |
void | SetBudgetType (EEditableEntityBudget type) |
Set a budget which will will be used in UI of provider detail. | |
EEditableEntityBudget | GetBudgetType () |
SCR_BudgetProgressEditorUIComponent | GetUIComponent () |
Public Member Functions inherited from MenuRootSubComponent | |
Widget | GetWidget () |
Get widget to which the component belongs to. | |
MenuRootBase | GetMenu () |
Get menu of which the widget is part of. | |
MenuRootComponent | GetRootComponent () |
Get root component of this subcomponent,. | |
void | HandlerAttachedScripted (Widget w) |
Event called when subcomponent is initialized. | |
override void | HandlerAttached (Widget w) |
override void | HandlerDeattached (Widget w) |
Protected Member Functions | |
override bool | IsUnique () |
Is the component to exist only in one instance? If so, it will be registered in the list of components and can be searched for. | |
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. | |
Protected Member Functions inherited from SCR_BaseEditorUIComponent | |
vector | OnCancelDown () |
bool | OnCancelUp () |
void | OnCancelExpired () |
bool | IsUnique () |
Is the component to exist only in one instance? If so, it will be registered in the list of components and can be searched for. | |
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 |
Protected Attributes inherited from SCR_BaseEditorUIComponent | |
vector | m_vClickPosCancel |
Static Protected Attributes | |
const int | INVALID_BUDGET = -1 |
Additional Inherited Members | |
Static Public Attributes inherited from SCR_BaseEditorUIComponent | |
const int | CANCEL_CLICK_MAX_DIS = 5 |
const int | CANCEL_CLICK_MAX_TIME = 500 |
Component to display budget progress.
EEditableEntityBudget SCR_BudgetUIComponent.GetBudgetType | ( | ) |
SCR_BudgetProgressEditorUIComponent SCR_BudgetUIComponent.GetUIComponent | ( | ) |
override void SCR_BudgetUIComponent.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.
Widget |
Implements MenuRootSubComponent.
override void SCR_BudgetUIComponent.HandlerDeattached | ( | Widget | w | ) |
Implements MenuRootSubComponent.
|
protected |
|
protected |
Is the component to exist only in one instance? If so, it will be registered in the list of components and can be searched for.
To be overwritten by inherited classes.
Implements MenuRootSubComponent.
|
protected |
|
protected |
|
protected |
|
protected |
void SCR_BudgetUIComponent.SetBudgetType | ( | EEditableEntityBudget | type | ) |
Set a budget which will will be used in UI of provider detail.
|
protected |
Load icon of given budget from budgetUI and set it.
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |