|
void | OnItemPossessed (IEntity item, BaseInventoryStorageComponent pStorageOwner) |
|
void | OnItemDropped (IEntity item, BaseInventoryStorageComponent pStorageOwner) |
|
override void | OnActivate (IEntity object) |
|
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 | OnActivate (IEntity object) |
|
array< ref SCR_ScenarioFrameworkActionBase > | GetSubActions () |
|
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.
|
|
◆ GetSubActions()
◆ HandleNewSlotGC()
void SCR_ScenarioFrameworkActionItemSafeguard.HandleNewSlotGC |
( |
IEntity |
entity | ) |
|
|
protected |
Handles the cases where GarbageSystem might delete new slot entity.
◆ HandleOldSlotGC()
void SCR_ScenarioFrameworkActionItemSafeguard.HandleOldSlotGC |
( |
IEntity |
entity | ) |
|
|
protected |
Handles possible revert of case prevention where GarbageSystem might delete root entity.
◆ OnActivate()
override void SCR_ScenarioFrameworkActionItemSafeguard.OnActivate |
( |
IEntity |
object | ) |
|
◆ OnDestroyed()
void SCR_ScenarioFrameworkActionItemSafeguard.OnDestroyed |
( |
IEntity |
destroyedEntity | ) |
|
|
protected |
Used to remove task item from destroyed entity inventory and drop it to the ground.
◆ OnDisconnected()
void SCR_ScenarioFrameworkActionItemSafeguard.OnDisconnected |
( |
int |
playerID | ) |
|
|
protected |
◆ OnItemCarrierChanged()
◆ OnItemDropped()
◆ OnItemPossessed()
◆ RegisterPlayer()
void SCR_ScenarioFrameworkActionItemSafeguard.RegisterPlayer |
( |
int |
playerID, |
|
|
IEntity |
playerEntity |
|
) |
| |
|
protected |
◆ m_aActionsOnItemDropped
◆ m_aActionsOnItemPossessed
◆ m_eGarbageCollectionStatus
SCR_EScenarioFrameworkItemGCState SCR_ScenarioFrameworkActionItemSafeguard.m_eGarbageCollectionStatus = SCR_EScenarioFrameworkItemGCState.UNDEFINED |
◆ m_Getter
◆ m_ItemEntity
IEntity SCR_ScenarioFrameworkActionItemSafeguard.m_ItemEntity |
|
protected |
The documentation for this interface was generated from the following file:
- Game/ScenarioFramework/Actions/SCR_ScenarioFrameworkActionItemSafeguard.c