Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_CampaignBuildingBudgetToEvaluateData.c
Go to the documentation of this file.
1 //------------------------------------------------------------------------------------------------
4 {
5  [Attribute(desc: "Fill in the budgets to be used with this provider", UIWidgets.ComboBox, enums: ParamEnumArray.FromEnum(EEditableEntityBudget))]
6  protected EEditableEntityBudget m_eBudget;
7 
8  [Attribute("0", UIWidgets.CheckBox, "If this provider has set: Use master provider and the same budget is set on master provider too, master provider budget will be used to evaluate placement.")]
9  protected bool m_bUseMasterProviderBudget;
10 
11  [Attribute("0", UIWidgets.CheckBox, "Set if this budget should be used in UI bar. Two budgets can be set per provider.")]
12  protected bool m_bShowBudgetInUI;
13 
14  //------------------------------------------------------------------------------------------------
16  bool CanBeUsed()
17  {
18  return true;
19  }
20 
21  //------------------------------------------------------------------------------------------------
22  EEditableEntityBudget GetBudget()
23  {
24  return m_eBudget;
25  }
26 
27  //------------------------------------------------------------------------------------------------
29  bool UseMasterProviderBudget()
30  {
31  return m_bUseMasterProviderBudget;
32  }
33 
34  //------------------------------------------------------------------------------------------------
36  bool CanShowBudgetInUI()
37  {
38  return m_bShowBudgetInUI;
39  }
40 }
SCR_BaseContainerCustomTitleEnum
class SCR_CampaignHintStorage SCR_BaseContainerCustomTitleEnum(EHint, "m_eHintId")
Definition: SCR_CampaignHintStorage.c:22
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition: SCR_RespawnBriefingComponent.c:17
EEditableEntityBudget
EEditableEntityBudget
Definition: EEditableEntityBudget.c:1
Attribute
typedef Attribute
Post-process effect of scripted camera.
SCR_CampaignBuildingBudgetToEvaluateData
Definition: SCR_CampaignBuildingBudgetToEvaluateData.c:3
BaseContainerProps
SCR_AIGoalReaction_Follow BaseContainerProps
Handles insects that are supposed to be spawned around selected prefabs defined in prefab names array...
Definition: SCR_AIGoalReaction.c:468