Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
SCR_EditableEntityCoreBudgetSetting Interface Reference

Public Member Functions

EEditableEntityBudget GetBudgetType ()
 
int GetMinBudgetCost ()
 
int GetCurrentBudget ()
 
SCR_UIInfo GetInfo ()
 
int GetReservedBudget ()
 Returns reserved budget.
 
void ReserveBudget (int reserveValue)
 Adds reserved budget.
 
void UnreserveBudget (int reserveValue)
 Removes reserved budget.
 
int SetCurrentBudget (int budgetValue)
 
int AddToBudget (SCR_EntityBudgetValue budgetCost=null)
 
int AddToBudget (int budgetValue)
 
int SubtractFromBudget (SCR_EntityBudgetValue budgetCost=null)
 
int SubtractFromBudget (int budgetValue)
 
void SetBudgetComponent (notnull SCR_BudgetEditorComponent budgetEditor)
 
void SCR_EditableEntityCoreBudgetSetting (int budgetValue=-1, EEditableEntityBudget budgetType=EEditableEntityBudget.PROPS, int minBudgetCost=0, SCR_UIInfo info=null)
 

Protected Attributes

ref SCR_UIInfo m_Info
 
EEditableEntityBudget m_BudgetType
 
int m_iMinBudgetCost
 
int m_iCurrentBudget
 
SCR_BudgetEditorComponent m_BudgetEditor
 
int m_iReservedBudget
 Reserved budget is used for budget that is not yet added to the current budget.
 

Constructor & Destructor Documentation

◆ SCR_EditableEntityCoreBudgetSetting()

void SCR_EditableEntityCoreBudgetSetting.SCR_EditableEntityCoreBudgetSetting ( int  budgetValue = -1,
EEditableEntityBudget  budgetType = EEditableEntityBudget::PROPS,
int  minBudgetCost = 0,
SCR_UIInfo  info = null 
)

Member Function Documentation

◆ AddToBudget() [1/2]

int SCR_EditableEntityCoreBudgetSetting.AddToBudget ( int  budgetValue)

◆ AddToBudget() [2/2]

int SCR_EditableEntityCoreBudgetSetting.AddToBudget ( SCR_EntityBudgetValue  budgetCost = null)

◆ GetBudgetType()

EEditableEntityBudget SCR_EditableEntityCoreBudgetSetting.GetBudgetType ( )

◆ GetCurrentBudget()

int SCR_EditableEntityCoreBudgetSetting.GetCurrentBudget ( )

◆ GetInfo()

SCR_UIInfo SCR_EditableEntityCoreBudgetSetting.GetInfo ( )

◆ GetMinBudgetCost()

int SCR_EditableEntityCoreBudgetSetting.GetMinBudgetCost ( )

◆ GetReservedBudget()

int SCR_EditableEntityCoreBudgetSetting.GetReservedBudget ( )

Returns reserved budget.

◆ ReserveBudget()

void SCR_EditableEntityCoreBudgetSetting.ReserveBudget ( int  reserveValue)

Adds reserved budget.

◆ SetBudgetComponent()

void SCR_EditableEntityCoreBudgetSetting.SetBudgetComponent ( notnull SCR_BudgetEditorComponent  budgetEditor)

◆ SetCurrentBudget()

int SCR_EditableEntityCoreBudgetSetting.SetCurrentBudget ( int  budgetValue)

◆ SubtractFromBudget() [1/2]

int SCR_EditableEntityCoreBudgetSetting.SubtractFromBudget ( int  budgetValue)

◆ SubtractFromBudget() [2/2]

int SCR_EditableEntityCoreBudgetSetting.SubtractFromBudget ( SCR_EntityBudgetValue  budgetCost = null)

◆ UnreserveBudget()

void SCR_EditableEntityCoreBudgetSetting.UnreserveBudget ( int  reserveValue)

Removes reserved budget.

Member Data Documentation

◆ m_BudgetEditor

SCR_BudgetEditorComponent SCR_EditableEntityCoreBudgetSetting.m_BudgetEditor
protected

◆ m_BudgetType

EEditableEntityBudget SCR_EditableEntityCoreBudgetSetting.m_BudgetType
protected

◆ m_iCurrentBudget

int SCR_EditableEntityCoreBudgetSetting.m_iCurrentBudget
protected

◆ m_iMinBudgetCost

int SCR_EditableEntityCoreBudgetSetting.m_iMinBudgetCost
protected

◆ m_Info

ref SCR_UIInfo SCR_EditableEntityCoreBudgetSetting.m_Info
protected

◆ m_iReservedBudget

int SCR_EditableEntityCoreBudgetSetting.m_iReservedBudget
protected

Reserved budget is used for budget that is not yet added to the current budget.


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