|
| override void | OnActivate (IEntity object) |
| |
| void | OnResourceChanged (SCR_ResourceContainer container, float previousValue) |
| |
| SCR_ResourceContainer | GetContainer (notnull IEntity entity, out SCR_ResourceComponent component) |
| | Get the resource container at given entity.
|
| |
| override array< ref SCR_ScenarioFrameworkActionBase > | GetSubActions () |
| |
| void | Init (IEntity entity) |
| | Initializes entity, sets OnActivate and OnDeactivate event handlers for SCR_BaseTriggerEntity.
|
| |
| bool | CanActivate () |
| | Checks if action can be activated, handles maximum activation limit, increments activation count if possible.
|
| |
| bool | ValidateInputEntity (IEntity object, SCR_ScenarioFrameworkGet getter, out IEntity entity) |
| | Validates input entity for ScenarioFramework Action, checks if it's from layer or getter, returns true if valid.
|
| |
| void | RestoreToDefault () |
| | Restores default settings for action and resets number of activations.
|
| |
| void | SpawnObjects (notnull array< string > aObjectsNames, SCR_ScenarioFrameworkEActivationType eActivationType) |
| | Spawns objects from an array, checks for existence, activation type, and initializes them with specified activation type.
|
| |
| proto external string | GetStoreName () |
| | Retrieve the store name, usually just a GUID.
|
| |
◆ GetContainer()
Get the resource container at given entity.
- Parameters
-
| [in] | entity | |
| [out] | resource | component |
- Returns
◆ GetSubActions()
◆ OnActivate()
| override void SCR_ScenarioFrameworkActionOnResourceChanged.OnActivate |
( |
IEntity | object | ) |
|
◆ OnResourceChanged()
| void SCR_ScenarioFrameworkActionOnResourceChanged.OnResourceChanged |
( |
SCR_ResourceContainer | container, |
|
|
float | previousValue ) |
◆ m_aActions
◆ m_eComparisonOperator
| SCR_EScenarioFrameworkComparisonOperator SCR_ScenarioFrameworkActionOnResourceChanged.m_eComparisonOperator |
◆ m_Getter
◆ m_iActivationPercentage
| float SCR_ScenarioFrameworkActionOnResourceChanged.m_iActivationPercentage |
◆ m_SupplyHolderEntity
| IEntity SCR_ScenarioFrameworkActionOnResourceChanged.m_SupplyHolderEntity |
|
protected |
The documentation for this interface was generated from the following file:
- Game/ScenarioFramework/Actions/ResourceComponentActions/SCR_ScenarioFrameworkActionOnResourceChanged.c