![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Member Functions | |
| void | SCR_WorkshopItemAction (SCR_WorkshopItem wrapper) |
| void | ~SCR_WorkshopItemAction () |
| bool | IsInactive () |
| bool | IsActive () |
| bool | IsCompleted () |
| bool | IsCanceled () |
| bool | IsPaused () |
| bool | IsFailed () |
| bool | IsAttached () |
| SCR_WorkshopItem | GetWorkshopItem () |
| void | SetUserData (Managed data) |
| Managed | GetUserData (Managed data) |
| string | GetAddonName () |
| Returns the cached addon name, even if WorkshopItem object is already deleted. | |
| string | GetAddonId () |
| Returns the cached addon ID, even if WorkshopItem object is already deleted. | |
| bool | Activate () |
| Activates an inactive action, or resumes a paused action. | |
| bool | Cancel () |
| Cancels an action. Valid in active, inactive, paused states. | |
| bool | Pause () |
| Pauses an active action. | |
| bool | Resume () |
| Resumes a paused action. | |
| bool | Reactivate () |
| Starts action again Only valid in failed state. | |
| void | Fail (int reason=-1) |
| Action must call this when it has failed. | |
| void | Complete () |
| Action must call this when it is completed. | |
| void | InvokeOnChanged () |
| Call this in inherited classes to invoke the OnChanged event handler. | |
| bool | OnActivate () |
| bool | OnCancel () |
| bool | OnPause () |
| bool | OnResume () |
| bool | OnReactivate () |
| void | OnFail (int reason=-1) |
| void | OnComplete () |
| void | Internal_Update (float timeSlice) |
| void | Internal_Detach () |
| void | _print (string str, LogLevel logLevel=LogLevel.DEBUG) |
Protected Attributes | |
| const int | STATE_INACTIVE = 0 |
| const int | STATE_ACTIVE = 1 |
| const int | STATE_COMPLETED = 2 |
| const int | STATE_FAILED = 3 |
| const int | STATE_CANCELED = 4 |
| const int | STATE_PAUSED = 5 |
| int | m_State |
| SCR_WorkshopItem | m_Wrapper |
| bool | m_bAttached |
| ref Managed | m_UserData |
| string | m_sAddonName |
| string | m_sAddonId |
Definition at line 16 of file SCR_WorkshopItemAction.c.
|
inlineprotected |
Definition at line 53 of file SCR_WorkshopItemAction.c.
|
inlineprotected |
Definition at line 69 of file SCR_WorkshopItemAction.c.
|
inlineprotected |
Definition at line 410 of file SCR_WorkshopItemAction.c.
|
inlineprotected |
Activates an inactive action, or resumes a paused action.
Public methods to interact with the action They return true if the operation was successful. If operation was not successful, false is returned, and action is in Failed state.
Definition at line 130 of file SCR_WorkshopItemAction.c.
|
inlineprotected |
Cancels an action. Valid in active, inactive, paused states.
Definition at line 173 of file SCR_WorkshopItemAction.c.
|
inlineprotected |
Action must call this when it is completed.
Definition at line 356 of file SCR_WorkshopItemAction.c.
|
inlineprotected |
Action must call this when it has failed.
Definition at line 335 of file SCR_WorkshopItemAction.c.
|
inlineprotected |
Returns the cached addon ID, even if WorkshopItem object is already deleted.
Definition at line 114 of file SCR_WorkshopItemAction.c.
|
inlineprotected |
Returns the cached addon name, even if WorkshopItem object is already deleted.
Definition at line 104 of file SCR_WorkshopItemAction.c.
|
inlineprotected |
Definition at line 100 of file SCR_WorkshopItemAction.c.
|
inlineprotected |
Definition at line 94 of file SCR_WorkshopItemAction.c.
|
inlineprotected |
Definition at line 404 of file SCR_WorkshopItemAction.c.
|
protected |
Called on each frame by the SCR_WorkshopItem which owns it. Here we can perform polling to detect state transitions
|
inlineprotected |
Call this in inherited classes to invoke the OnChanged event handler.
Definition at line 377 of file SCR_WorkshopItemAction.c.
|
inlineprotected |
Definition at line 81 of file SCR_WorkshopItemAction.c.
|
inlineprotected |
When action is attached, it means that it wasn't completed or wasn't replaced by another action. It is detached when another action takes its place, when it is completed or canceled. If an action is detached, you can only read its state, but you can't do any operations like activate, restart, pause, etc.
Definition at line 91 of file SCR_WorkshopItemAction.c.
|
inlineprotected |
Definition at line 83 of file SCR_WorkshopItemAction.c.
|
inlineprotected |
Definition at line 82 of file SCR_WorkshopItemAction.c.
|
inlineprotected |
Definition at line 85 of file SCR_WorkshopItemAction.c.
|
inlineprotected |
Definition at line 80 of file SCR_WorkshopItemAction.c.
|
inlineprotected |
Definition at line 84 of file SCR_WorkshopItemAction.c.
|
inlineprotected |
These methods must be overridden in derived classes to implement the functionality. If the specific action can't be paused, canceled, or resumed, the methods must return false.
Definition at line 388 of file SCR_WorkshopItemAction.c.
|
inlineprotected |
Definition at line 389 of file SCR_WorkshopItemAction.c.
|
protected |
|
protected |
|
inlineprotected |
Definition at line 390 of file SCR_WorkshopItemAction.c.
|
inlineprotected |
Definition at line 392 of file SCR_WorkshopItemAction.c.
|
inlineprotected |
Definition at line 391 of file SCR_WorkshopItemAction.c.
|
inlineprotected |
Pauses an active action.
Definition at line 213 of file SCR_WorkshopItemAction.c.
|
inlineprotected |
Starts action again Only valid in failed state.
Definition at line 296 of file SCR_WorkshopItemAction.c.
|
inlineprotected |
Resumes a paused action.
Definition at line 253 of file SCR_WorkshopItemAction.c.
|
inlineprotected |
Definition at line 97 of file SCR_WorkshopItemAction.c.
|
protected |
Definition at line 44 of file SCR_WorkshopItemAction.c.
|
protected |
Definition at line 49 of file SCR_WorkshopItemAction.c.
|
protected |
Definition at line 48 of file SCR_WorkshopItemAction.c.
|
protected |
Definition at line 38 of file SCR_WorkshopItemAction.c.
|
protected |
Definition at line 45 of file SCR_WorkshopItemAction.c.
|
protected |
Definition at line 40 of file SCR_WorkshopItemAction.c.
|
protected |
Definition at line 31 of file SCR_WorkshopItemAction.c.
|
protected |
Definition at line 34 of file SCR_WorkshopItemAction.c.
|
protected |
Definition at line 32 of file SCR_WorkshopItemAction.c.
|
protected |
Definition at line 33 of file SCR_WorkshopItemAction.c.
|
protected |
Definition at line 30 of file SCR_WorkshopItemAction.c.
|
protected |
Definition at line 35 of file SCR_WorkshopItemAction.c.