Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
SCR_BudgetEditorComponent Interface Reference
Inheritance diagram for SCR_BudgetEditorComponent:
[legend]

Public Member Functions

bool CanPlaceEntityInfo (SCR_EditableEntityUIInfo info, out EEditableEntityBudget blockingBudget, bool showNotification)
 Checks if budget is sufficient to place passed entity.
 
bool CanPlaceEntityInfo (SCR_EditableEntityUIInfo info, out notnull array< ref SCR_EntityBudgetValue > budgetCosts, out EEditableEntityBudget blockingBudget, bool showNotification)
 Checks if budget is sufficient to place passed entity.
 
bool CanPlaceEntitySource (IEntityComponentSource editableEntitySource, out EEditableEntityBudget blockingBudget, bool isPlacingPlayer=false, bool updatePreview=true, bool showNotification=true)
 Checks if budget is sufficient to place passed EditableEntityComponentClass source.
 
bool CanPlace (notnull array< ref SCR_EntityBudgetValue > budgetCosts, out EEditableEntityBudget blockingBudget)
 Checks if budget is sufficient using passed budget costs.
 
bool GetEntityPreviewBudgetCosts (SCR_EditableEntityUIInfo entityUIInfo, out notnull array< ref SCR_EntityBudgetValue > budgetCosts)
 
bool GetEntitySourcePreviewBudgetCosts (IEntityComponentSource editableEntitySource, out notnull array< ref SCR_EntityBudgetValue > budgetCosts)
 
bool GetVehicleOccupiedBudgetCosts (IEntityComponentSource editableEntitySource, EEditorPlacingFlags placingFlags, out notnull array< ref SCR_EntityBudgetValue > budgetCosts, bool includeVehicleCost=true)
 Return the cost of the occupants for a vehicle.
 
bool GetVehicleOccupiedBudgetCosts (SCR_EditableVehicleUIInfo editableUIInfo, EEditorPlacingFlags placingFlags, out notnull array< ref SCR_EntityBudgetValue > budgetCosts)
 
void UpdatePreviewCost (notnull array< ref SCR_EntityBudgetValue > budgetCosts)
 
void ResetPreviewCost ()
 
bool GetMaxBudgetValue (EEditableEntityBudget type, out int maxBudget)
 Get max budget for this player per budget type.
 
void SetMaxBudgetValue (EEditableEntityBudget type, int newValue)
 Set max budget for this player for budget type.
 
void DelayedSetMaxBudgetSetup (EEditableEntityBudget type, int newValue, int playerChangingBudget)
 
void SetMultiMaxBudgetValues (notnull map< EEditableEntityBudget, int > budgets, int playerChangingBudget)
 
void GetEntityTypeBudgetCost (EEditableEntityType entityType, out array< ref SCR_EntityBudgetValue > budgetCosts)
 Gets the minimun cost of the given entity type.
 
int GetCurrentBudgetValue (EEditableEntityBudget type)
 Get last received budget value for type.
 
void SetCurrentBudgetValue (EEditableEntityBudget budgetType, int value)
 Set current budget value.
 
bool GetCurrentBudgetInfo (EEditableEntityBudget budgetType, out SCR_UIInfo blockingBudgetInfo)
 Get current settings of budget with given type.
 
void GetBudgets (out notnull array< ref SCR_EditableEntityCoreBudgetSetting > budgets)
 
SCR_EditableEntityCoreBudgetSetting GetBudgetSetting (EEditableEntityBudget budgetType)
 
void DemandBudgetUpdateFromServer ()
 
void RpcServer_UpdateBudget ()
 
void RpcOwner_UpdateBudget (EEditableEntityBudget budgetType, int currentBudget)
 
void ~SCR_BudgetEditorComponent ()
 
- Public Member Functions inherited from SCR_BaseEditorComponent
sealed void OnInitBase ()
 
sealed void OnDeleteBase ()
 
sealed void OnRequestBase (bool isOpen)
 
sealed void OnOpenedBase ()
 
sealed void OnClosedBase ()
 
sealed void OnPreActivateBase ()
 
sealed void OnActivateBase ()
 
sealed bool OnActivateAsyncBase (int attempt)
 
sealed void OnPostActivateBase ()
 
sealed void OnDeactivateBase ()
 
sealed void OnPostDeactivateBase ()
 
sealed bool OnDeactivateAsyncBase (int attempt)
 
sealed void OnEffectBase (SCR_BaseEditorEffect effect)
 
SCR_EditorManagerEntity GetManager ()
 Get editor manager this component belongs to.
 
SCR_BaseEditorComponent FindEditorComponent (TypeName type, bool showError=false, bool modeFirst=false)
 Get the editor manager to which this component belongs.
 
EntityComponentPrefabData GetEditorComponentData ()
 Get prefab data of this component.
 
bool IsRemoved ()
 Check if the component is being deleted.
 
void ResetEditorComponent ()
 Reset values controlled by the component.
 
ScriptInvoker GetOnEffect ()
 Get event called when an effect is activated.
 
void InitServer ()
 
void InitOwner ()
 
override void OnPostInit (IEntity owner)
 
void SCR_BaseEditorComponent (IEntityComponentSource src, IEntity ent, IEntity parent)
 
void ~SCR_BaseEditorComponent ()
 

Public Attributes

ref ScriptInvoker_EntityBudgetUpdatedEvent Event_OnBudgetUpdated = new ScriptInvoker_EntityBudgetUpdatedEvent()
 
ref ScriptInvoker_EntityBudgetMaxReachedEvent Event_OnBudgetMaxReached = new ScriptInvoker_EntityBudgetMaxReachedEvent()
 
ref ScriptInvoker_EntityBudgetMaxUpdatedEvent Event_OnBudgetMaxUpdated = new ScriptInvoker_EntityBudgetMaxUpdatedEvent()
 
ref ScriptInvoker Event_OnBudgetPreviewUpdated = new ScriptInvoker()
 
ref ScriptInvoker Event_OnBudgetPreviewReset = new ScriptInvoker()
 

Static Public Attributes

const int DEFAULT_MAX_BUDGET = 100
 
const int DEFAULT_MIN_COST = 1
 

Protected Member Functions

bool CanPlaceEntityType (EEditableEntityType entityType, out notnull array< ref SCR_EntityBudgetValue > budgetCosts, out EEditableEntityBudget blockingBudget)
 Fallback function in case no budget costs are defined on the entity.
 
bool CanPlace (SCR_EntityBudgetValue budgetCost, out EEditableEntityBudget blockingBudget)
 
bool CanPlace (int currentBudget, int budgetChange, int maxBudget)
 
bool IsBudgetAvailable (EEditableEntityBudget type)
 
bool GetMaxBudget (EEditableEntityBudget type, out SCR_EntityBudgetValue budget)
 
void DelayedSetMaxBudget (int playerChangingBudget)
 
int GetEntityTypeBudgetCost (EEditableEntityBudget budgetType)
 
bool GetCurrentBudgetSettings (EEditableEntityBudget budgetType, out SCR_EditableEntityCoreBudgetSetting budgetSettings)
 
void RefreshBudgetSettings ()
 Get default budget definitions from core, budget values not synced on client, use GetCurrentBudget for updated budget.
 
void UpdateMaxBudgetOwner (int budgetType, int oldMaxBudget, int newMaxBudget)
 
bool CanPlaceResult (bool canPlace, bool showNotification)
 
void CanPlaceOwner (bool canPlace)
 
void OnEntityCoreBudgetUpdated (EEditableEntityBudget entityBudget, int originalBudgetValue, int budgetChange, int updatedBudgetValue, SCR_EditableEntityComponent entity)
 
void OnEntityCoreBudgetUpdatedOwner (EEditableEntityBudget entityBudget, int budgetValue, int budgetChange, bool sendBudgetMaxEvent, bool budgetMaxReached)
 
bool CheckMaxBudgetReached (EEditableEntityBudget entityBudget, int budgetChange, int originalBudgetValue, int updatedBudgetValue, int maxBudgetValue, out bool maxBudgetReached)
 
void FilterAvailableBudgets (inout notnull array< ref SCR_EntityBudgetValue > budgetCosts)
 
EEditableEntityBudget GetFirstAvailableBudget ()
 
bool IsBudgetCapEnabled ()
 
override void EOnEditorDebug (array< string > debugTexts)
 Every frame while the editor is opened and debug menu is shown.
 
override void EOnEditorInitServer ()
 When the entity is created (called on server)
 
override void EOnEditorDeleteServer ()
 When the entity is destroyed (called on server)
 
override void EOnEditorActivate ()
 When the component is activated.
 
override void EOnEditorInit ()
 When the entity is created.
 
- Protected Member Functions inherited from SCR_BaseEditorComponent
bool IsOnEditorManager ()
 
bool IsOwner ()
 
bool IsProxy ()
 
bool IsMaster ()
 
bool IsAdmin ()
 
SCR_BaseEditorComponent GetParentComponent ()
 
void SetParentComponent (SCR_BaseEditorComponent parent)
 
void SendNotification (ENotification notificationID, int selfID=0, int targetID=0, vector position=vector.Zero)
 
void EOnEditorDelete ()
 When the entity is destroyed.
 
void EOnEditorRequest (bool isOpen)
 When opening/closing request is sent to server.
 
void EOnEditorOpen ()
 When the editor is opened.
 
void EOnEditorClose ()
 When the editor is closed.
 
void EOnEditorPreActivate ()
 Before the component is activated.
 
bool EOnEditorActivateAsync (int attempt)
 When the component is activated.
 
void EOnEditorPostActivate ()
 When the component is activated, but after EOnEditorActivate() function was called in all components.
 
void EOnEditorDeactivate ()
 When the component is deactivated.
 
bool EOnEditorDeactivateAsync (int attempt)
 When the component is deactivated.
 
void EOnEditorPostDeactivate ()
 When the component is deactivated, but after the next mode is activated.
 
void EOnEffect (SCR_BaseEditorEffect effect)
 When an effect is created in reaction an an event.
 
void EOnEditorOpenServer ()
 When the editor is opened (called on server)
 
void EOnEditorOpenServerCallback ()
 When the editor is opened (called on server after async loading finished on client)
 
void EOnEditorCloseServer ()
 When the editor is closed (called on server)
 
void EOnEditorCloseServerCallback ()
 When the editor is closed (called on server after async loading finished on client)
 
void EOnEditorActivateServer ()
 When the component is activated (called on server)
 
void EOnEditorDeactivateServer ()
 When the component is deactivated (called on server)
 

Protected Attributes

ref array< ref SCR_EntityBudgetValuem_MaxBudgets
 
SCR_EditableEntityCore m_EntityCore
 
SCR_BaseEditableEntityFilter m_DestroyedEntityFilter
 
ref map< EEditableEntityBudget, SCR_EditableEntityCoreBudgetSettingm_BudgetSettingsMap = new map<EEditableEntityBudget, SCR_EditableEntityCoreBudgetSetting>
 
ref map< EEditableEntityBudget, int > m_DelayedSetMaxBudgetsMap = new map<EEditableEntityBudget, int>()
 
bool m_bListenToMaxBudgetDelay = false
 
- Protected Attributes inherited from SCR_BaseEditorComponent
SCR_EditorBaseEntity m_Owner
 
SCR_EditorManagerEntity m_Manager
 
SCR_BaseEditorComponent m_Parent
 
RplComponent m_RplComponent
 

Additional Inherited Members

- Static Public Member Functions inherited from SCR_BaseEditorComponent
static Managed GetInstance (TypeName type, bool showError=false, bool modeFirst=false)
 Get the local instance of a component attached on editor manager (SCR_EditorManagerEntity).
 
static Managed GetInstance (SCR_EditorBaseEntity editorManager, TypeName type, bool showError=false)
 Get instance of a component attached on specific editor manager / mode (SCR_EditorBaseEntity).
 
static int GetAllInstances (TypeName type, out notnull array< Managed > outComponents)
 Get component instances on editor manager (SCR_EditorBaseEntity) and all its modes (SCR_EditorModeEntity).
 

Constructor & Destructor Documentation

◆ ~SCR_BudgetEditorComponent()

void SCR_BudgetEditorComponent.~SCR_BudgetEditorComponent ( )

Member Function Documentation

◆ CanPlace() [1/3]

bool SCR_BudgetEditorComponent.CanPlace ( int  currentBudget,
int  budgetChange,
int  maxBudget 
)
protected

◆ CanPlace() [2/3]

bool SCR_BudgetEditorComponent.CanPlace ( notnull array< ref SCR_EntityBudgetValue budgetCosts,
out EEditableEntityBudget  blockingBudget 
)

Checks if budget is sufficient using passed budget costs.

Parameters
[in]budgetCostsarray with budget costs values either read from entity in world or directly from prefab
[out]blockingBudget
Returns
True if passed budgetCosts array is not empty and entity can be placed according to the passed values

Implemented in SCR_CampaignBuildingBudgetEditorComponent.

◆ CanPlace() [3/3]

bool SCR_BudgetEditorComponent.CanPlace ( SCR_EntityBudgetValue  budgetCost,
out EEditableEntityBudget  blockingBudget 
)
protected

◆ CanPlaceEntityInfo() [1/2]

bool SCR_BudgetEditorComponent.CanPlaceEntityInfo ( SCR_EditableEntityUIInfo  info,
out EEditableEntityBudget  blockingBudget,
bool  showNotification 
)

Checks if budget is sufficient to place passed entity.

Parameters
[in]info
[out]blockingBudget
[in]showNotification
Returns

◆ CanPlaceEntityInfo() [2/2]

bool SCR_BudgetEditorComponent.CanPlaceEntityInfo ( SCR_EditableEntityUIInfo  info,
out notnull array< ref SCR_EntityBudgetValue budgetCosts,
out EEditableEntityBudget  blockingBudget,
bool  showNotification 
)

Checks if budget is sufficient to place passed entity.

Parameters
[in]info
[out]budgetCosts
[out]blockingBudget
[in]showNotification
Returns

◆ CanPlaceEntitySource()

bool SCR_BudgetEditorComponent.CanPlaceEntitySource ( IEntityComponentSource  editableEntitySource,
out EEditableEntityBudget  blockingBudget,
bool  isPlacingPlayer = false,
bool  updatePreview = true,
bool  showNotification = true 
)

Checks if budget is sufficient to place passed EditableEntityComponentClass source.

Parameters
[in]editableEntitySourceIEntityComponentSource SCR_EditableEntityComponentClass to check budget cost of prefab
[out]blockingBudget
[in]isPlacingPlayer
[in]updatePreview
[in]showNotification
Returns

Implemented in SCR_CampaignBuildingBudgetEditorComponent.

◆ CanPlaceEntityType()

bool SCR_BudgetEditorComponent.CanPlaceEntityType ( EEditableEntityType  entityType,
out notnull array< ref SCR_EntityBudgetValue budgetCosts,
out EEditableEntityBudget  blockingBudget 
)
protected

Fallback function in case no budget costs are defined on the entity.

Parameters
[in]entityTypeEEditableEntityType of the entity
[out]budgetCosts
[out]blockingBudget
Returns
true if passed array is not empty and entity can be placed according to the passed values

◆ CanPlaceOwner()

void SCR_BudgetEditorComponent.CanPlaceOwner ( bool  canPlace)
protected

◆ CanPlaceResult()

bool SCR_BudgetEditorComponent.CanPlaceResult ( bool  canPlace,
bool  showNotification 
)
protected

◆ CheckMaxBudgetReached()

bool SCR_BudgetEditorComponent.CheckMaxBudgetReached ( EEditableEntityBudget  entityBudget,
int  budgetChange,
int  originalBudgetValue,
int  updatedBudgetValue,
int  maxBudgetValue,
out bool  maxBudgetReached 
)
protected

◆ DelayedSetMaxBudget()

void SCR_BudgetEditorComponent.DelayedSetMaxBudget ( int  playerChangingBudget)
protected

◆ DelayedSetMaxBudgetSetup()

void SCR_BudgetEditorComponent.DelayedSetMaxBudgetSetup ( EEditableEntityBudget  type,
int  newValue,
int  playerChangingBudget 
)
Parameters
[in]type
[in]newValue
[in]playerChangingBudget

◆ DemandBudgetUpdateFromServer()

void SCR_BudgetEditorComponent.DemandBudgetUpdateFromServer ( )

◆ EOnEditorActivate()

override void SCR_BudgetEditorComponent.EOnEditorActivate ( )
protected

When the component is activated.

Implements SCR_BaseEditorComponent.

Implemented in SCR_CampaignBuildingBudgetEditorComponent.

◆ EOnEditorDebug()

override void SCR_BudgetEditorComponent.EOnEditorDebug ( array< string >  debugTexts)
protected

Every frame while the editor is opened and debug menu is shown.

Implements SCR_BaseEditorComponent.

◆ EOnEditorDeleteServer()

override void SCR_BudgetEditorComponent.EOnEditorDeleteServer ( )
protected

When the entity is destroyed (called on server)

Implements SCR_BaseEditorComponent.

◆ EOnEditorInit()

override void SCR_BudgetEditorComponent.EOnEditorInit ( )
protected

When the entity is created.

Implements SCR_BaseEditorComponent.

◆ EOnEditorInitServer()

override void SCR_BudgetEditorComponent.EOnEditorInitServer ( )
protected

When the entity is created (called on server)

Implements SCR_BaseEditorComponent.

◆ FilterAvailableBudgets()

void SCR_BudgetEditorComponent.FilterAvailableBudgets ( inout notnull array< ref SCR_EntityBudgetValue budgetCosts)
protected

◆ GetBudgets()

void SCR_BudgetEditorComponent.GetBudgets ( out notnull array< ref SCR_EditableEntityCoreBudgetSetting budgets)
Parameters
[out]budgets

◆ GetBudgetSetting()

SCR_EditableEntityCoreBudgetSetting SCR_BudgetEditorComponent.GetBudgetSetting ( EEditableEntityBudget  budgetType)
Parameters
[in]budgetType
Returns

◆ GetCurrentBudgetInfo()

bool SCR_BudgetEditorComponent.GetCurrentBudgetInfo ( EEditableEntityBudget  budgetType,
out SCR_UIInfo  blockingBudgetInfo 
)

Get current settings of budget with given type.

Parameters
[in]budgetType
[out]blockingBudgetInfo
Returns

◆ GetCurrentBudgetSettings()

bool SCR_BudgetEditorComponent.GetCurrentBudgetSettings ( EEditableEntityBudget  budgetType,
out SCR_EditableEntityCoreBudgetSetting  budgetSettings 
)
protected

◆ GetCurrentBudgetValue()

int SCR_BudgetEditorComponent.GetCurrentBudgetValue ( EEditableEntityBudget  type)

Get last received budget value for type.

Parameters
[in]type
Returns

Implemented in SCR_CampaignBuildingBudgetEditorComponent.

◆ GetEntityPreviewBudgetCosts()

bool SCR_BudgetEditorComponent.GetEntityPreviewBudgetCosts ( SCR_EditableEntityUIInfo  entityUIInfo,
out notnull array< ref SCR_EntityBudgetValue budgetCosts 
)
Parameters
[in]entityUIInfo
[out]budgetCosts
Returns

Implemented in SCR_CampaignBuildingBudgetEditorComponent.

◆ GetEntitySourcePreviewBudgetCosts()

bool SCR_BudgetEditorComponent.GetEntitySourcePreviewBudgetCosts ( IEntityComponentSource  editableEntitySource,
out notnull array< ref SCR_EntityBudgetValue budgetCosts 
)
Parameters
[in]editableEntitySource
[out]budgetCosts
Returns

◆ GetEntityTypeBudgetCost() [1/2]

int SCR_BudgetEditorComponent.GetEntityTypeBudgetCost ( EEditableEntityBudget  budgetType)
protected

◆ GetEntityTypeBudgetCost() [2/2]

void SCR_BudgetEditorComponent.GetEntityTypeBudgetCost ( EEditableEntityType  entityType,
out array< ref SCR_EntityBudgetValue budgetCosts 
)

Gets the minimun cost of the given entity type.

Parameters
[in]entityTypeentity type
[out]budgetCostsThe minimum cost for the given budget type

◆ GetFirstAvailableBudget()

EEditableEntityBudget SCR_BudgetEditorComponent.GetFirstAvailableBudget ( )
protected

◆ GetMaxBudget()

bool SCR_BudgetEditorComponent.GetMaxBudget ( EEditableEntityBudget  type,
out SCR_EntityBudgetValue  budget 
)
protected

◆ GetMaxBudgetValue()

bool SCR_BudgetEditorComponent.GetMaxBudgetValue ( EEditableEntityBudget  type,
out int  maxBudget 
)

Get max budget for this player per budget type.

Parameters
[in]type
[out]maxBudget
Returns

Implemented in SCR_CampaignBuildingBudgetEditorComponent.

◆ GetVehicleOccupiedBudgetCosts() [1/2]

bool SCR_BudgetEditorComponent.GetVehicleOccupiedBudgetCosts ( IEntityComponentSource  editableEntitySource,
EEditorPlacingFlags  placingFlags,
out notnull array< ref SCR_EntityBudgetValue budgetCosts,
bool  includeVehicleCost = true 
)

Return the cost of the occupants for a vehicle.

It takes the cost directly from the UIinfo

Parameters
[in]editableEntitySourceThe Vehicle Entity source to get budget from
[in]placingFlagsTo check which costs it needs to grab (Passengers and/or Vrew)
[out]budgetCostsArray of total budget costs
[in]includeVehicleCostIf true will also return the vehicle budget cost
Returns
False if unsuccesfull in obtaining costs

◆ GetVehicleOccupiedBudgetCosts() [2/2]

bool SCR_BudgetEditorComponent.GetVehicleOccupiedBudgetCosts ( SCR_EditableVehicleUIInfo  editableUIInfo,
EEditorPlacingFlags  placingFlags,
out notnull array< ref SCR_EntityBudgetValue budgetCosts 
)
Parameters
[in]editableUIInfo
[in]placingFlags
[out]budgetCosts
Returns

◆ IsBudgetAvailable()

bool SCR_BudgetEditorComponent.IsBudgetAvailable ( EEditableEntityBudget  type)
protected

◆ IsBudgetCapEnabled()

bool SCR_BudgetEditorComponent.IsBudgetCapEnabled ( )
protected

◆ OnEntityCoreBudgetUpdated()

void SCR_BudgetEditorComponent.OnEntityCoreBudgetUpdated ( EEditableEntityBudget  entityBudget,
int  originalBudgetValue,
int  budgetChange,
int  updatedBudgetValue,
SCR_EditableEntityComponent  entity 
)
protected

◆ OnEntityCoreBudgetUpdatedOwner()

void SCR_BudgetEditorComponent.OnEntityCoreBudgetUpdatedOwner ( EEditableEntityBudget  entityBudget,
int  budgetValue,
int  budgetChange,
bool  sendBudgetMaxEvent,
bool  budgetMaxReached 
)
protected

◆ RefreshBudgetSettings()

void SCR_BudgetEditorComponent.RefreshBudgetSettings ( )
protected

Get default budget definitions from core, budget values not synced on client, use GetCurrentBudget for updated budget.

Implemented in SCR_CampaignBuildingBudgetEditorComponent.

◆ ResetPreviewCost()

void SCR_BudgetEditorComponent.ResetPreviewCost ( )

◆ RpcOwner_UpdateBudget()

void SCR_BudgetEditorComponent.RpcOwner_UpdateBudget ( EEditableEntityBudget  budgetType,
int  currentBudget 
)
Parameters
[in]budgetType
[in]currentBudget

◆ RpcServer_UpdateBudget()

void SCR_BudgetEditorComponent.RpcServer_UpdateBudget ( )

◆ SetCurrentBudgetValue()

void SCR_BudgetEditorComponent.SetCurrentBudgetValue ( EEditableEntityBudget  budgetType,
int  value 
)

Set current budget value.

Parameters
[in]budgetType
[in]value

◆ SetMaxBudgetValue()

void SCR_BudgetEditorComponent.SetMaxBudgetValue ( EEditableEntityBudget  type,
int  newValue 
)

Set max budget for this player for budget type.

Parameters
[in]type
[in]newValue

◆ SetMultiMaxBudgetValues()

void SCR_BudgetEditorComponent.SetMultiMaxBudgetValues ( notnull map< EEditableEntityBudget, int >  budgets,
int  playerChangingBudget 
)
Parameters
[in]budgets
[in]playerChangingBudgetunused

◆ UpdateMaxBudgetOwner()

void SCR_BudgetEditorComponent.UpdateMaxBudgetOwner ( int  budgetType,
int  oldMaxBudget,
int  newMaxBudget 
)
protected

◆ UpdatePreviewCost()

void SCR_BudgetEditorComponent.UpdatePreviewCost ( notnull array< ref SCR_EntityBudgetValue budgetCosts)
Parameters
[in]budgetCosts

Member Data Documentation

◆ DEFAULT_MAX_BUDGET

const int SCR_BudgetEditorComponent.DEFAULT_MAX_BUDGET = 100
static

◆ DEFAULT_MIN_COST

const int SCR_BudgetEditorComponent.DEFAULT_MIN_COST = 1
static

◆ Event_OnBudgetMaxReached

ref ScriptInvoker_EntityBudgetMaxReachedEvent SCR_BudgetEditorComponent.Event_OnBudgetMaxReached = new ScriptInvoker_EntityBudgetMaxReachedEvent()

◆ Event_OnBudgetMaxUpdated

ref ScriptInvoker_EntityBudgetMaxUpdatedEvent SCR_BudgetEditorComponent.Event_OnBudgetMaxUpdated = new ScriptInvoker_EntityBudgetMaxUpdatedEvent()

◆ Event_OnBudgetPreviewReset

ref ScriptInvoker SCR_BudgetEditorComponent.Event_OnBudgetPreviewReset = new ScriptInvoker()

◆ Event_OnBudgetPreviewUpdated

ref ScriptInvoker SCR_BudgetEditorComponent.Event_OnBudgetPreviewUpdated = new ScriptInvoker()

◆ Event_OnBudgetUpdated

ref ScriptInvoker_EntityBudgetUpdatedEvent SCR_BudgetEditorComponent.Event_OnBudgetUpdated = new ScriptInvoker_EntityBudgetUpdatedEvent()

◆ m_bListenToMaxBudgetDelay

bool SCR_BudgetEditorComponent.m_bListenToMaxBudgetDelay = false
protected

◆ m_BudgetSettingsMap

ref map<EEditableEntityBudget, SCR_EditableEntityCoreBudgetSetting> SCR_BudgetEditorComponent.m_BudgetSettingsMap = new map<EEditableEntityBudget, SCR_EditableEntityCoreBudgetSetting>
protected

◆ m_DelayedSetMaxBudgetsMap

ref map<EEditableEntityBudget, int> SCR_BudgetEditorComponent.m_DelayedSetMaxBudgetsMap = new map<EEditableEntityBudget, int>()
protected

◆ m_DestroyedEntityFilter

SCR_BaseEditableEntityFilter SCR_BudgetEditorComponent.m_DestroyedEntityFilter
protected

◆ m_EntityCore

SCR_EditableEntityCore SCR_BudgetEditorComponent.m_EntityCore
protected

◆ m_MaxBudgets

ref array<ref SCR_EntityBudgetValue> SCR_BudgetEditorComponent.m_MaxBudgets
protected

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