Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_BaseInteractionDisplay.c
Go to the documentation of this file.
1//------------------------------------------------------------------------------------------------
4{
7
8 // FINISHED: Action was sucessfuly finished, i.e. duration was fulfilled
9 // INTERRUPTED: Action was interrupted, i.e. user stopped performing the action midway
10};
11
12//------------------------------------------------------------------------------------------------
14{
16 ref array<BaseUserAction> param1;
18 ref array<bool> param2;
19
20 void Init()
21 {
22 param1 = new array<BaseUserAction>();
23 param2 = new array<bool>();
24 }
25};
26
27//------------------------------------------------------------------------------------------------
30{
31 IEntity pUser;
32 ref ActionsTuple pActionsData;
33 BaseUserAction pSelectedAction;
34 UserActionContext pCurrentContext;
35};
36
37//------------------------------------------------------------------------------------------------
39class SCR_BaseInteractionDisplay : SCR_InfoDisplayExtended
40{
44 void OnActionStart( IEntity pUser, BaseUserAction pPerformedAction );
45
51 void OnActionProgress( IEntity pUser, BaseUserAction pPerformedAction, float fProgress, float fDuration );
52
57 void OnActionFinish( IEntity pUser, BaseUserAction pFinishedAction, ActionFinishReason eFinishReason );
58
60 void ShowDisplay();
61
63 void HideDisplay();
64
66 void SetDisplayData(ActionDisplayData data);
67};
override void Init()
ActionFinishReason
Reason for why an action ended. Used in SCR_BaseInteractionDisplay and derived classes.
Get all prefabs that have the spawner data
Base class for displaying interactions in the UI.
@ FINISHED
Job was successfully finished.
Definition ENodeResult.c:19