![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Member Functions | |
| void | SetCannotPerformReason (string reason) |
| string | GetCannotPerformReason () |
| proto external int | GetContextIndex (string sContextName) |
| Returns the index of the context this action is registered in as or -1 if none. | |
| proto external void | SetActiveContext (UserActionContext context) |
| Setter for m_pActiveContext. | |
| proto external UserActionContext | GetActiveContext () |
| Getter for m_pActiveContext. | |
| proto external bool | CanBePerformed (IEntity user) |
| Can this action be performed by the user? | |
| proto external bool | CanBeShown (IEntity user) |
| Can this action be shown in the UI for the user? | |
| proto external bool | HasLocalEffectOnly () |
| Does this action only have client side effect? | |
| proto external bool | CanBroadcast () |
| If HasLocalEffectOnly() is false this method tells if the server is supposed to broadcast this action to clients. | |
| proto external bool | CheckOnServerFirst () |
| proto external bool | ShouldPerformPerFrame () |
| Should this action be performed every frame the input action is triggered? | |
| proto external string | GetActionName () |
| proto external string | GetActionDescription () |
| proto external float | GetVisibilityRange () |
| Returns the visibility range of this action in metres. | |
| proto external float | GetActionDuration () |
| Returns the duration of this action in seconds. | |
| proto external float | GetActionProgress (float fProgress, float timeSlice) |
| Returns the progress of this action in seconds. | |
| proto external bool | IsInProgress () |
| Returns true while continuous or timed action is being used. | |
| proto external UIInfo | GetUIInfo () |
| Returns the UIInfo set for this user action or null if none. | |
| proto external IEntity | GetOwner () |
| Returns the parent entity of this action. | |
| proto external bool | CanAggregate () |
| Whether action can be aggregated by name, this is a temp workaround for localization. | |
| proto external int | GetActionID () |
| Returns the ID with which this action is registered in its parent ActionsManagerComponent. | |
| proto external void | SetSendActionDataFlag () |
| Used to ask to send action data again during continuous action. | |
| proto external ActionsManagerComponent | GetActionsManager () |
| proto external void | SetActionEnabled_S (bool enable) |
| Action can be enabled/disabled by the server. Disabled actions return false for CanBeShown(). Has no effect when called from the client. | |
| proto external bool | WasDisabledByServer () |
| Was the action disabled by the server? | |
| bool | OnRplSave (ScriptBitWriter writer) |
| bool | OnRplLoad (ScriptBitReader reader) |
| bool | OnSaveActionData (ScriptBitWriter writer) |
| bool | OnLoadActionData (ScriptBitReader reader) |
| event void | OnActionSelected () |
| event void | OnActionDeselected () |
| void | SetCannotPerformReason (string reason) |
| string | GetCannotPerformReason () |
| proto external int | GetContextIndex (string sContextName) |
| Returns the index of the context this action is registered in as or -1 if none. | |
| proto external void | SetActiveContext (UserActionContext context) |
| Setter for m_pActiveContext. | |
| proto external UserActionContext | GetActiveContext () |
| Getter for m_pActiveContext. | |
| proto external bool | CanBePerformed (IEntity user) |
| Can this action be performed by the user? | |
| proto external bool | CanBeShown (IEntity user) |
| Can this action be shown in the UI for the user? | |
| proto external bool | HasLocalEffectOnly () |
| Does this action only have client side effect? | |
| proto external bool | CanBroadcast () |
| If HasLocalEffectOnly() is false this method tells if the server is supposed to broadcast this action to clients. | |
| proto external bool | CheckOnServerFirst () |
| proto external bool | ShouldPerformPerFrame () |
| Should this action be performed every frame the input action is triggered? | |
| proto external string | GetActionName () |
| proto external string | GetActionDescription () |
| proto external float | GetVisibilityRange () |
| Returns the visibility range of this action in metres. | |
| proto external float | GetActionDuration () |
| Returns the duration of this action in seconds. | |
| proto external float | GetActionProgress (float fProgress, float timeSlice) |
| Returns the progress of this action in seconds. | |
| proto external bool | IsInProgress () |
| Returns true while continuous or timed action is being used. | |
| proto external UIInfo | GetUIInfo () |
| Returns the UIInfo set for this user action or null if none. | |
| proto external IEntity | GetOwner () |
| Returns the parent entity of this action. | |
| proto external bool | CanAggregate () |
| Whether action can be aggregated by name, this is a temp workaround for localization. | |
| proto external int | GetActionID () |
| Returns the ID with which this action is registered in its parent ActionsManagerComponent. | |
| proto external void | SetSendActionDataFlag () |
| Used to ask to send action data again during continuous action. | |
| proto external ActionsManagerComponent | GetActionsManager () |
| proto external void | SetActionEnabled_S (bool enable) |
| Action can be enabled/disabled by the server. Disabled actions return false for CanBeShown(). Has no effect when called from the client. | |
| proto external bool | WasDisabledByServer () |
| Was the action disabled by the server? | |
| bool | OnRplSave (ScriptBitWriter writer) |
| bool | OnRplLoad (ScriptBitReader reader) |
| bool | OnSaveActionData (ScriptBitWriter writer) |
| bool | OnLoadActionData (ScriptBitReader reader) |
| event void | OnActionSelected () |
| event void | OnActionDeselected () |
Protected Attributes | |
| string | m_sCannotPerformReason |
| string | ActionNameParams [9] |
| Can be filled in scripts to be used as params when name is being formatted when displayed in UI. | |
Definition at line 12 of file BaseUserAction.c.
|
protected |
Whether action can be aggregated by name, this is a temp workaround for localization.
|
protected |
Whether action can be aggregated by name, this is a temp workaround for localization.
Can this action be performed by the user?
Can this action be performed by the user?
Can this action be shown in the UI for the user?
Can this action be shown in the UI for the user?
|
protected |
If HasLocalEffectOnly() is false this method tells if the server is supposed to broadcast this action to clients.
|
protected |
If HasLocalEffectOnly() is false this method tells if the server is supposed to broadcast this action to clients.
|
protected |
If CheckOnServerFirst returns true, the action is first sent to be verified on the server. Only if the function succeeds on the server it will can be executed on other machines. This does not mean that actions are not verified on the server otherwise. However, the path the action takes is different. When this function returns true it means OnSaveActionData is evaluated on the server, not where the action is called from. This comes handly in situations when the use action wants to use data that is only available on the server.
|
protected |
If CheckOnServerFirst returns true, the action is first sent to be verified on the server. Only if the function succeeds on the server it will can be executed on other machines. This does not mean that actions are not verified on the server otherwise. However, the path the action takes is different. When this function returns true it means OnSaveActionData is evaluated on the server, not where the action is called from. This comes handly in situations when the use action wants to use data that is only available on the server.
|
protected |
|
protected |
|
protected |
Returns the duration of this action in seconds.
|
protected |
Returns the duration of this action in seconds.
|
protected |
Returns the ID with which this action is registered in its parent ActionsManagerComponent.
|
protected |
Returns the ID with which this action is registered in its parent ActionsManagerComponent.
|
protected |
|
protected |
|
protected |
Returns the progress of this action in seconds.
|
protected |
Returns the progress of this action in seconds.
|
protected |
|
protected |
|
protected |
Getter for m_pActiveContext.
|
protected |
Getter for m_pActiveContext.
|
inlineprotected |
Returns the reason why action couldn't be performed. It is valid only within and after CanBePerformed is called
Definition at line 28 of file BaseUserAction.c.
|
inlineprotected |
Returns the reason why action couldn't be performed. It is valid only within and after CanBePerformed is called
Definition at line 28 of file BaseUserAction.c.
Returns the index of the context this action is registered in as or -1 if none.
Returns the index of the context this action is registered in as or -1 if none.
|
protected |
Returns the parent entity of this action.
|
protected |
Returns the parent entity of this action.
|
protected |
Returns the UIInfo set for this user action or null if none.
|
protected |
Returns the UIInfo set for this user action or null if none.
|
protected |
Returns the visibility range of this action in metres.
|
protected |
Returns the visibility range of this action in metres.
|
protected |
Does this action only have client side effect?
|
protected |
Does this action only have client side effect?
|
protected |
Returns true while continuous or timed action is being used.
|
protected |
Returns true while continuous or timed action is being used.
|
protected |
Callback for when action is deselected by the local player and the local player ONLY.
|
protected |
Callback for when action is deselected by the local player and the local player ONLY.
|
protected |
Callback for when action is selected by the local player and the local player ONLY.
|
protected |
Callback for when action is selected by the local player and the local player ONLY.
|
inlineprotected |
If the one performing the action packed some data in it everybody receiving the action. Only available for actions for which HasLocalEffectOnly returns false. Only triggered if the sender wrote anyting to the buffer.
Definition at line 100 of file BaseUserAction.c.
|
inlineprotected |
If the one performing the action packed some data in it everybody receiving the action. Only available for actions for which HasLocalEffectOnly returns false. Only triggered if the sender wrote anyting to the buffer.
Definition at line 100 of file BaseUserAction.c.
|
inlineprotected |
Definition at line 92 of file BaseUserAction.c.
|
inlineprotected |
Definition at line 92 of file BaseUserAction.c.
|
inlineprotected |
Definition at line 91 of file BaseUserAction.c.
|
inlineprotected |
Definition at line 91 of file BaseUserAction.c.
|
inlineprotected |
Before performing the action the caller can store some data in it which is delivered to others. Only available for actions for which HasLocalEffectOnly returns false. Evaluate where the action is called. However, if CheckOnServerFirst is true, it is always run from the server.
Definition at line 96 of file BaseUserAction.c.
|
inlineprotected |
Before performing the action the caller can store some data in it which is delivered to others. Only available for actions for which HasLocalEffectOnly returns false. Evaluate where the action is called. However, if CheckOnServerFirst is true, it is always run from the server.
Definition at line 96 of file BaseUserAction.c.
|
protected |
Action can be enabled/disabled by the server. Disabled actions return false for CanBeShown(). Has no effect when called from the client.
|
protected |
Action can be enabled/disabled by the server. Disabled actions return false for CanBeShown(). Has no effect when called from the client.
|
protected |
Setter for m_pActiveContext.
|
protected |
Setter for m_pActiveContext.
|
inlineprotected |
Sets the reason why action couldn't be performed. Should be done in CanBePerformed check
Definition at line 21 of file BaseUserAction.c.
|
inlineprotected |
Sets the reason why action couldn't be performed. Should be done in CanBePerformed check
Definition at line 21 of file BaseUserAction.c.
|
protected |
Used to ask to send action data again during continuous action.
|
protected |
Used to ask to send action data again during continuous action.
|
protected |
Should this action be performed every frame the input action is triggered?
|
protected |
Should this action be performed every frame the input action is triggered?
|
protected |
Was the action disabled by the server?
|
protected |
Was the action disabled by the server?
|
protected |
Can be filled in scripts to be used as params when name is being formatted when displayed in UI.
Definition at line 34 of file BaseUserAction.c.
|
protected |
The reason why action cannot be performed. Should be set in CanBePerformed check
Definition at line 17 of file BaseUserAction.c.