17 protected string m_sCannotPerformReason;
21 void SetCannotPerformReason(
string reason)
23 m_sCannotPerformReason = reason;
28 string GetCannotPerformReason()
30 return m_sCannotPerformReason;
34 string ActionNameParams[9];
37 proto external
int GetContextIndex(
string sContextName);
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();
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();