Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
BaseUserAction.c
Go to the documentation of this file.
1 /*
2 ===========================================
3 Do not modify, this script is generated
4 ===========================================
5 */
6 
12 class BaseUserAction: ScriptAndConfig
13 {
14  // Injects
17  protected string m_sCannotPerformReason;
18 
21  void SetCannotPerformReason(string reason)
22  {
23  m_sCannotPerformReason = reason;
24  }
25 
28  string GetCannotPerformReason()
29  {
30  return m_sCannotPerformReason;
31  }
32 
34  string ActionNameParams[9];
35 
37  proto external int GetContextIndex(string sContextName);
39  proto external void SetActiveContext(UserActionContext context);
41  proto external UserActionContext GetActiveContext();
43  proto external bool CanBePerformed(IEntity user);
45  proto external bool CanBeShown(IEntity user);
47  proto external bool HasLocalEffectOnly();
49  proto external bool CanBroadcast();
51  proto external bool ShouldPerformPerFrame();
54  proto external string GetActionName();
57  proto external string GetActionDescription();
59  proto external float GetVisibilityRange();
61  proto external void SetActionDuration(float duration);
63  proto external float GetActionDuration();
65  proto external float GetActionProgress();
67  proto external bool IsInProgress();
69  proto external UIInfo GetUIInfo();
71  proto external IEntity GetOwner();
73  proto external bool CanAggregate();
75  proto external int GetActionID();
77  proto external void SetSendActionDataFlag();
78 
79  // callbacks
80 
81  event protected bool OnRplSave(ScriptBitWriter writer) { return true; };
82  event protected bool OnRplLoad(ScriptBitReader reader) { return true; };
85  event protected bool OnSaveActionData(ScriptBitWriter writer) { return true; };
89  event protected bool OnLoadActionData(ScriptBitReader reader) { return true; };
93  event protected event void OnActionSelected();
97  event protected event void OnActionDeselected();
98 }
99 
UIInfo
UIInfo - declare object, allows to define UI elements.
Definition: UIInfo.c:13
BaseUserAction
Definition: BaseUserAction.c:12
UserActionContext
Definition: UserActionContext.c:15