21class ExtBaseInteractionHandlerComponent: BaseInteractionHandlerComponent
38 proto external
int GetFilteredActions(out notnull array<BaseUserAction> outActions, out notnull array<bool> outCanBePerformed);
SCR_EditableEntityComponent GetControlledEntity()
void OnControlledEntityChanged(IEntity from, IEntity to)
Runs every time the controlled entity has been changed.
proto external void SetManualCollectionOverride(bool enabled)
If set to true, we expect a list of entities to be provided from the user instead.
void OnContextChanged(UserActionContext previousContext, UserActionContext newContext)
bool CanContextChange(UserActionContext currentContext, UserActionContext newContext)
proto external int GetNearbyAvailableContextList(out notnull array< UserActionContext > outContexts)
bool IsPerformingAction()
array< IEntity > GetManualNearbyOverrideList(IEntity owner, out vector referencePoint)
void OnPostFrame(IEntity owner, IEntity controlledEntity, float timeSlice)
proto external int GetNearbyShowableContextList(out notnull array< UserActionContext > outContexts)
proto external bool GetManualCollectionOverride()
Returns whether manual collection override is set (we expect a list of entities to be provided from t...
proto external void SetNearbyCollectionEnabled(bool enabled)
ExtBaseInteractionHandlerComponentClass BaseInteractionHandlerComponentClass SetSelectedAction(BaseUserAction action)
proto external int GetNearbyUnavailableContextList(out notnull array< UserActionContext > outContexts)
array< IEntity > GetManualOverrideList(IEntity owner, out vector referencePoint)
proto external int GetFilteredActions(out notnull array< BaseUserAction > outActions, out notnull array< bool > outCanBePerformed)
proto external void SetManualNearbyCollectionOverride(bool enabled)
If set to true, we expect a list of nearby entities to be provided from the user instead.
proto external float GetNearbyCollectionRadius()
Returns the radius in meters that is used for nearby available context collection.
proto external bool GetNearbyCollectionEnabled()
Returns whether nearby available context collection is enabled.
proto external UserActionContext GetCurrentContext()
Returns currently gathered (active-preferred) context or null if none.
proto external vector UpdateLastReferencePoint(float timeSlice)
BaseUserAction GetSelectedActionScript()
bool GetIsInteractionAvailableScript()
bool GetCanInteractScript(IEntity controlledEntity)
proto external bool IsContextAvailable()
Returns true when there is a gathered context available.
bool DoIntersectCheck(IEntity controlledEntity)
proto external bool GetManualNearbyCollectionOverride()
Returns whether manual nearby collection override is set (we expect a list of nearby entities to be p...