Arma Reforger Script API
|
Public Member Functions | |
override void | InitializeBudgets () |
override void | OnBudgetAdd (SCR_EditableEntityCoreBudgetSetting budget, int maxBudget) |
override void | OnBudgetUpdate (EEditableEntityBudget budgetType, int originalBudgetValue, int updatedBudgetValue, int maxBudgetValue) |
SCR_CampaignBuildingProviderComponent | GetProviderComponent () |
Get current provider component. | |
int | GetMaxBudgetValue (EEditableEntityBudget budget) |
int | GetCurrentBudgetValue () |
![]() | |
override void | HandlerAttachedScripted (Widget w) |
Event called when subcomponent is initialized. | |
override void | HandlerDeattached (Widget w) |
![]() | |
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,. | |
override void | HandlerAttached (Widget w) |
Protected Attributes | |
ref array< EEditableEntityBudget > | m_aVisibleBudgetUI |
![]() | |
float | m_fDisabledOpacity |
SCR_BudgetEditorComponent | m_BudgetManager |
ResourceName | m_BudgetEntryPrefab |
Widget | m_Layout |
ref map< EEditableEntityBudget, Widget > | m_BudgetWidgets = new map<EEditableEntityBudget, Widget>() |
![]() | |
vector | m_vClickPosCancel |
Static Protected Attributes | |
static const int | UNLIMITED_PROP_BUDGET = -1 |
Additional Inherited Members | |
![]() | |
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" |
![]() | |
const int | CANCEL_CLICK_MAX_DIS = 5 |
const int | CANCEL_CLICK_MAX_TIME = 500 |
![]() | |
void | OnBudgetMaxUpdate (EEditableEntityBudget budgetType, int currentBudgetValue, int maxBudgetValue) |
void | OnBudgetPreviewUpdate (EEditableEntityBudget budgetType, float previewBudgetValue, float budgetChange) |
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 () |
![]() | |
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. | |
int SCR_CampaignBuildingBudgetEditorUIComponent.GetCurrentBudgetValue | ( | ) |
int SCR_CampaignBuildingBudgetEditorUIComponent.GetMaxBudgetValue | ( | EEditableEntityBudget | budget | ) |
SCR_CampaignBuildingProviderComponent SCR_CampaignBuildingBudgetEditorUIComponent.GetProviderComponent | ( | ) |
Get current provider component.
override void SCR_CampaignBuildingBudgetEditorUIComponent.InitializeBudgets | ( | ) |
Implements SCR_BudgetEditorUIComponent.
override void SCR_CampaignBuildingBudgetEditorUIComponent.OnBudgetAdd | ( | SCR_EditableEntityCoreBudgetSetting | budget, |
int | maxBudget ) |
Implements SCR_BudgetEditorUIComponent.
override void SCR_CampaignBuildingBudgetEditorUIComponent.OnBudgetUpdate | ( | EEditableEntityBudget | budgetType, |
int | originalBudgetValue, | ||
int | updatedBudgetValue, | ||
int | maxBudgetValue ) |
Implements SCR_BudgetEditorUIComponent.
|
protected |
|
staticprotected |