Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
ExtBaseInteractionHandlerComponent.c
Go to the documentation of this file.
1 /*
2 ===========================================
3 Do not modify, this script is generated
4 ===========================================
5 */
6 
13 {
14 }
15 
21 class ExtBaseInteractionHandlerComponent: BaseInteractionHandlerComponent
22 {
27  proto external protected void SetSelectedAction(BaseUserAction action);
29  proto external UserActionContext GetCurrentContext();
31  proto external IEntity GetControlledEntity();
38  proto external int GetFilteredActions(out notnull array<BaseUserAction> outActions, out notnull array<bool> outCanBePerformed);
40  proto external bool IsContextAvailable();
42  proto external void SetManualCollectionOverride(bool enabled);
44  proto external bool GetManualCollectionOverride();
49  proto external void SetNearbyCollectionEnabled(bool enabled);
51  proto external bool GetNearbyCollectionEnabled();
53  proto external float GetNearbyCollectionRadius();
60  proto external int GetNearbyAvailableContextList(out notnull array<UserActionContext> outContexts);
67  proto external int GetNearbyShowableContextList(out notnull array<UserActionContext> outContexts);
74  proto external int GetNearbyUnavailableContextList(out notnull array<UserActionContext> outContexts);
75 
76  // callbacks
77 
84  event protected void OnContextChanged(UserActionContext previousContext, UserActionContext newContext);
89  event protected void OnPostFrame(IEntity owner, IEntity controlledEntity, float timeSlice);
93  event protected bool CanContextChange(UserActionContext currentContext, UserActionContext newContext);
98  event protected bool DoIntersectCheck(IEntity controlledEntity);
103  event protected bool GetIsInteractionAvailableScript();
109  event protected bool GetCanInteractScript(IEntity controlledEntity);
114  event protected BaseUserAction GetSelectedActionScript();
121  event protected array<IEntity> GetManualOverrideList(IEntity owner, out vector referencePoint);
122 }
123 
SetSelectedAction
ExtBaseInteractionHandlerComponentClass BaseInteractionHandlerComponentClass SetSelectedAction(BaseUserAction action)
OnContextChanged
event protected void OnContextChanged(UserActionContext previousContext, UserActionContext newContext)
IsContextAvailable
proto external bool IsContextAvailable()
Returns true when there is a gathered context available.
OnPostFrame
event protected void OnPostFrame(IEntity owner, IEntity controlledEntity, float timeSlice)
GetManualCollectionOverride
proto external bool GetManualCollectionOverride()
Returns whether manual collection override is set (we expect a list of entities to be provided from t...
GetNearbyCollectionEnabled
proto external bool GetNearbyCollectionEnabled()
Returns whether nearby available context collection is enabled.
GetIsInteractionAvailableScript
event protected bool GetIsInteractionAvailableScript()
SetManualCollectionOverride
proto external void SetManualCollectionOverride(bool enabled)
If set to true, we expect a list of entities to be provided from the user instead.
DoIntersectCheck
event protected bool DoIntersectCheck(IEntity controlledEntity)
GetCanInteractScript
event protected bool GetCanInteractScript(IEntity controlledEntity)
BaseInteractionHandlerComponentClass
Definition: BaseInteractionHandlerComponent.c:12
GetCurrentContext
proto external UserActionContext GetCurrentContext()
Returns currently gathered (active-preferred) context or null if none.
CanContextChange
event protected bool CanContextChange(UserActionContext currentContext, UserActionContext newContext)
GetFilteredActions
proto external int GetFilteredActions(out notnull array< BaseUserAction > outActions, out notnull array< bool > outCanBePerformed)
GetNearbyAvailableContextList
proto external int GetNearbyAvailableContextList(out notnull array< UserActionContext > outContexts)
GetNearbyShowableContextList
proto external int GetNearbyShowableContextList(out notnull array< UserActionContext > outContexts)
GetManualOverrideList
event protected array< IEntity > GetManualOverrideList(IEntity owner, out vector referencePoint)
BaseUserAction
Definition: BaseUserAction.c:12
GetControlledEntity
proto external IEntity GetControlledEntity()
Returns the controlled entity or null if none.
Definition: SCR_EditablePlayerDelegateComponent.c:86
GetSelectedActionScript
event protected BaseUserAction GetSelectedActionScript()
SetNearbyCollectionEnabled
proto external void SetNearbyCollectionEnabled(bool enabled)
GetNearbyCollectionRadius
proto external float GetNearbyCollectionRadius()
Returns the radius in meters that is used for nearby available context collection.
UserActionContext
Definition: UserActionContext.c:15
GetNearbyUnavailableContextList
proto external int GetNearbyUnavailableContextList(out notnull array< UserActionContext > outContexts)
ExtBaseInteractionHandlerComponentClass
Definition: ExtBaseInteractionHandlerComponent.c:12