![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Member Functions | |
| array< ref SCR_WorkshopItem > | GetAllAddons () |
| Returns array with all addons currently in the system - online and offline. | |
| array< ref SCR_WorkshopItem > | GetOfflineAddons () |
| Returns array with all offline addons. | |
| SCR_WorkshopItem | Register (WorkshopItem item) |
| Returns a SCR_WorkshopItem. If it's not registered, creates a new one and registers it. | |
| SCR_WorkshopItem | Register (Dependency item) |
| Returns a SCR_WorkshopItem. If it's not registered, creates a new one and registers it. | |
| bool | GetReady () |
| bool | GetAddonsChecked () |
| True when all async checks are done. Doesn't indicate that all checks were successful! | |
| bool | GetUgcPrivilege () |
| Returns immediate value of UserPrivilege.USER_GEN_CONTENT. | |
| int | GetCountAddonsOutdated () |
| Returns count of outdated addons. | |
| void | NegotiateUgcPrivilegeAsync () |
| void | InvokeEventOnAddonEnabled (SCR_WorkshopItem arg0, int arg1) |
| ScriptInvoker | GetEventOnAddonEnabled () |
| void | InvokeEventOnAllAddonsEnabled () |
| ScriptInvoker | GetEventOnAllAddonsEnabled () |
| void | EnableMultipleAddons (array< ref SCR_WorkshopItem > items, bool enable) |
| Enable/disable multiple mods recursively to save performance. | |
| void | EnableAddonsRecursively (array< ref SCR_WorkshopItem > addons, out int remaining, bool enable) |
| void | Internal_CheckAddons () |
| When internet is disabled, might take a lot of time to complete the request. | |
| void | RegisterNewItem (string id, SCR_WorkshopItem itemWrapper) |
| string | GetItemId (WorkshopItem item) |
| string | GetItemId (Dependency item) |
| void | FinalizeInitAfterAsyncChecks () |
| Finishes init after all async checks are done. | |
| override void | EOnInit (IEntity owner) |
| void | AddonCheckResponse (BackendCallback callback) |
| void | AddonCheckError (BackendCallback callback) |
| void | Callback_CheckAddons_OnSuccess () |
| void | Callback_GetPrivilege_OnPrivilegeResult (UserPrivilege privilege, UserPrivilegeResult result) |
| void | Callback_OnAddonOfflineStateChanged (SCR_WorkshopItem item, bool newState) |
| Called from the specific SCR_WorkshopItem. | |
| void | Callback_OnAddonReportStateChanged (SCR_WorkshopItem item, bool newReport) |
| Called from the specific SCR_WorkshopItem. | |
| override void | EOnFrame (IEntity owner, float timeSlice) |
| void | Internal_OnNewDownload (SCR_WorkshopItem item, SCR_WorkshopItemActionDownload action) |
| Called by SCR_WorkshopItem when it starts a new download. | |
| void | CountOutdatedAddons () |
| Go throught all offline addons and count size. | |
| SCR_WorkshopAddonManagerPresetStorage | GetPresetStorage () |
| SCR_WorkshopItem | GetItem (string id) |
| void | SelectPreset (SCR_WorkshopAddonPreset preset, notnull array< ref SCR_WorkshopAddonPresetAddonMeta > addonsNotFound) |
| void | OnOfflineAddonsDisabled () |
| void | OnAllAddonsEnabledCorrupted () |
| Call this when all dialog are enabled, but some are missing to show which one. | |
| SCR_WorkshopAddonPreset | CreatePresetFromEnabledAddons (string presetName) |
| int | CountOfEnabledAddons () |
| Return int count of all enabled mods. | |
| map< string, ref SCR_WorkshopItem > | GetItemsMap () |
| void | _print (string str, LogLevel logLevel=LogLevel.DEBUG) |
Static Protected Member Functions | |
| static SCR_AddonManager | GetInstance () |
| static bool | GetAddonsEnabledExternally () |
| Returns true when external addon configuration is used (through CLI or other means). | |
| static bool | GetAddonEnabledExternally (SCR_WorkshopItem item) |
| Returns true if addon was enabled through external configuration (CLI or other). | |
| static array< ref SCR_WorkshopItem > | SelectItemsBasic (array< ref SCR_WorkshopItem > items, EWorkshopItemQuery query) |
| static int | CountItemsBasic (array< ref SCR_WorkshopItem > items, EWorkshopItemQuery query, bool returnOnFirstMatch=false) |
| static array< ref SCR_WorkshopItem > | SelectItemsAnd (array< ref SCR_WorkshopItem > items, EWorkshopItemQuery query) |
| static int | CountItemsAnd (array< ref SCR_WorkshopItem > items, EWorkshopItemQuery query, bool returnOnFirstMatch=false) |
| Counts items which match query. All flags must match. | |
| static array< ref SCR_WorkshopItem > | SelectItemsOr (array< ref SCR_WorkshopItem > items, EWorkshopItemQuery query) |
| static int | CountItemsOr (array< ref SCR_WorkshopItem > items, EWorkshopItemQuery query, bool returnOnFirstMatch=false) |
| Counts items which match query.Any flag must match. | |
| static SCR_ComparerOperator | DifferenceBetweenVersions (string vFrom, string vTo) |
| Return difference type between current version from current to target. | |
| static SCR_ERevisionAvailability | ItemAvailability (notnull WorkshopItem item) |
| static bool | CheckQueryFlag (SCR_WorkshopItem item, EWorkshopItemQuery flag) |
| static bool | CheckQueryFlagsAnd (SCR_WorkshopItem item, EWorkshopItemQuery flags) |
| Checks if all flags are satisfied. | |
| static bool | CheckQueryFlagsOr (SCR_WorkshopItem item, EWorkshopItemQuery flags) |
| Checks if any flag is satisfied. | |
Static Protected Attributes | |
| static const float | ADDONS_ENABLED_UPDATE_INTERVAL_S = 1/30 |
| static const float | ADDONS_OUTDATED_UPDATE_INTERVAL_S = 1.0 |
| static SCR_AddonManager | s_Instance |
Definition at line 79 of file SCR_AddonManager.c.
Definition at line 1103 of file SCR_AddonManager.c.
|
inlineprotected |
Definition at line 766 of file SCR_AddonManager.c.
|
inlineprotected |
Definition at line 759 of file SCR_AddonManager.c.
|
inlineprotected |
Definition at line 772 of file SCR_AddonManager.c.
|
inlineprotected |
Definition at line 831 of file SCR_AddonManager.c.
|
inlineprotected |
Called from the specific SCR_WorkshopItem.
Definition at line 848 of file SCR_AddonManager.c.
|
inlineprotected |
Called from the specific SCR_WorkshopItem.
Definition at line 855 of file SCR_AddonManager.c.
|
inlinestaticprotected |
Definition at line 632 of file SCR_AddonManager.c.
|
inlinestaticprotected |
Checks if all flags are satisfied.
Definition at line 664 of file SCR_AddonManager.c.
|
inlinestaticprotected |
Checks if any flag is satisfied.
Definition at line 683 of file SCR_AddonManager.c.
|
inlinestaticprotected |
Counts items which match query. All flags must match.
Definition at line 353 of file SCR_AddonManager.c.
|
inlinestaticprotected |
Counts items which match query. Only one flag is tested! EWorkshopItemQuery.OFFLINE - will count items which are offline AND enabled.
Definition at line 319 of file SCR_AddonManager.c.
|
inlinestaticprotected |
Counts items which match query.Any flag must match.
Definition at line 386 of file SCR_AddonManager.c.
|
inlineprotected |
Return int count of all enabled mods.
Definition at line 1085 of file SCR_AddonManager.c.
|
inlineprotected |
Go throught all offline addons and count size.
Definition at line 972 of file SCR_AddonManager.c.
|
inlineprotected |
Definition at line 1062 of file SCR_AddonManager.c.
|
inlinestaticprotected |
Return difference type between current version from current to target.
Definition at line 405 of file SCR_AddonManager.c.
|
inlineprotected |
Definition at line 555 of file SCR_AddonManager.c.
|
inlineprotected |
Enable/disable multiple mods recursively to save performance.
Definition at line 539 of file SCR_AddonManager.c.
Definition at line 861 of file SCR_AddonManager.c.
|
inlineprotected |
Definition at line 729 of file SCR_AddonManager.c.
|
inlineprotected |
Finishes init after all async checks are done.
Definition at line 715 of file SCR_AddonManager.c.
|
inlinestaticprotected |
Returns true if addon was enabled through external configuration (CLI or other).
Definition at line 293 of file SCR_AddonManager.c.
|
inlineprotected |
True when all async checks are done. Doesn't indicate that all checks were successful!
Definition at line 247 of file SCR_AddonManager.c.
|
inlinestaticprotected |
Returns true when external addon configuration is used (through CLI or other means).
Definition at line 286 of file SCR_AddonManager.c.
|
inlineprotected |
Returns array with all addons currently in the system - online and offline.
Definition at line 147 of file SCR_AddonManager.c.
|
inlineprotected |
Returns count of outdated addons.
Definition at line 261 of file SCR_AddonManager.c.
|
inlineprotected |
Definition at line 510 of file SCR_AddonManager.c.
|
inlineprotected |
Definition at line 526 of file SCR_AddonManager.c.
|
inlinestaticprotected |
Definition at line 139 of file SCR_AddonManager.c.
|
inlineprotected |
Definition at line 996 of file SCR_AddonManager.c.
|
inlineprotected |
Definition at line 626 of file SCR_AddonManager.c.
|
inlineprotected |
Definition at line 620 of file SCR_AddonManager.c.
|
inlineprotected |
Definition at line 1092 of file SCR_AddonManager.c.
|
inlineprotected |
Returns array with all offline addons.
Definition at line 159 of file SCR_AddonManager.c.
|
inlineprotected |
Definition at line 988 of file SCR_AddonManager.c.
|
inlineprotected |
When true, we can fully use Workshop. All async checks are finished successfully. CheckAddons is not reliable and might never finish, so be careful with this.
Definition at line 237 of file SCR_AddonManager.c.
|
inlineprotected |
Returns immediate value of UserPrivilege.USER_GEN_CONTENT.
Definition at line 254 of file SCR_AddonManager.c.
|
inlineprotected |
When internet is disabled, might take a lot of time to complete the request.
Definition at line 584 of file SCR_AddonManager.c.
|
inlineprotected |
Called by SCR_WorkshopItem when it starts a new download.
Definition at line 963 of file SCR_AddonManager.c.
|
inlineprotected |
Definition at line 503 of file SCR_AddonManager.c.
|
inlineprotected |
Definition at line 519 of file SCR_AddonManager.c.
|
inlinestaticprotected |
Compare availability state for item current revision Returns state base on if current and latest revision is avaiable in workshop
Definition at line 451 of file SCR_AddonManager.c.
|
inlineprotected |
Check user's workshop privilege (related to xbox profile) As a result on X-Box a system dialog will open and ask for confirmation. Subscribe to m_OnUgcPrivilegeResult to get the result.
Definition at line 270 of file SCR_AddonManager.c.
|
inlineprotected |
Call this when all dialog are enabled, but some are missing to show which one.
Definition at line 1048 of file SCR_AddonManager.c.
|
inlineprotected |
Definition at line 1020 of file SCR_AddonManager.c.
|
inlineprotected |
Returns a SCR_WorkshopItem. If it's not registered, creates a new one and registers it.
Definition at line 204 of file SCR_AddonManager.c.
|
inlineprotected |
Returns a SCR_WorkshopItem. If it's not registered, creates a new one and registers it.
Definition at line 172 of file SCR_AddonManager.c.
|
inlineprotected |
Definition at line 603 of file SCR_AddonManager.c.
|
inlinestaticprotected |
Selects items which match query. All flags must match. EWorkshopItemQuery.OFFLINE | EWorkshopItemQuery.ENABLED - will return items which are offline AND enabled.
Definition at line 338 of file SCR_AddonManager.c.
|
inlinestaticprotected |
Selects items which match query. Only one flag is tested! EWorkshopItemQuery.OFFLINE - will return items which are offline AND enabled.
Definition at line 304 of file SCR_AddonManager.c.
|
inlinestaticprotected |
Selects items which match query. Any flag must match. EWorkshopItemQuery.OFFLINE | EWorkshopItemQuery.ENABLED - will return items which are offline OR enabled.
Definition at line 372 of file SCR_AddonManager.c.
|
inlineprotected |
Definition at line 1011 of file SCR_AddonManager.c.
|
staticprotected |
Definition at line 86 of file SCR_AddonManager.c.
|
staticprotected |
Definition at line 87 of file SCR_AddonManager.c.
|
protected |
Definition at line 127 of file SCR_AddonManager.c.
|
protected |
Definition at line 128 of file SCR_AddonManager.c.
|
protected |
Definition at line 1005 of file SCR_AddonManager.c.
|
protected |
Definition at line 108 of file SCR_AddonManager.c.
|
protected |
Definition at line 123 of file SCR_AddonManager.c.
|
protected |
Definition at line 118 of file SCR_AddonManager.c.
|
protected |
Definition at line 121 of file SCR_AddonManager.c.
|
protected |
Definition at line 119 of file SCR_AddonManager.c.
|
protected |
Definition at line 120 of file SCR_AddonManager.c.
|
protected |
Definition at line 114 of file SCR_AddonManager.c.
|
protected |
Definition at line 113 of file SCR_AddonManager.c.
|
protected |
Definition at line 112 of file SCR_AddonManager.c.
|
protected |
Definition at line 125 of file SCR_AddonManager.c.
|
protected |
Definition at line 109 of file SCR_AddonManager.c.
|
protected |
Definition at line 96 of file SCR_AddonManager.c.
|
protected |
Definition at line 99 of file SCR_AddonManager.c.
|
protected |
Definition at line 93 of file SCR_AddonManager.c.
|
protected |
Definition at line 105 of file SCR_AddonManager.c.
|
protected |
Definition at line 131 of file SCR_AddonManager.c.
|
protected |
Definition at line 102 of file SCR_AddonManager.c.
|
protected |
Definition at line 115 of file SCR_AddonManager.c.
|
protected |
Definition at line 1004 of file SCR_AddonManager.c.
|
protected |
Definition at line 111 of file SCR_AddonManager.c.
|
staticprotected |
Definition at line 110 of file SCR_AddonManager.c.