![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Dialog for confirming multiple downloads in workshop. More...
Protected Member Functions | |
| override void | OnMenuOpen (SCR_ConfigurableDialogUiPreset preset) |
| void | LoadAddonPatchSizes () |
| void | OnAllPatchSizeLoaded (SCR_AddonPatchSizeLoader loader, bool allLoaded) |
| void | CreateAddonWidget (notnull SCR_WorkshopItem dep, Widget listRoot) |
| Create and setup addon widget text and verions. | |
| void | CreateAddonList () |
| void | SetStyleDownloadAddonsWithDependencies () |
| Sets text: "%1 dependencies will be downloaded:" over the dependencies list. | |
| void | SetStyleDownloadAddons () |
| Hides all explanation text. | |
| override void | OnConfirm () |
| void | OnConfirmAlternative () |
| This is only valid when we can download the main addon. | |
| array< ref SCR_WorkshopItemAction > | GetActions () |
| Returns the internal array with created download actions. | |
Static Protected Member Functions | |
| static SCR_DownloadConfirmationDialog | CreateForAddonAndDependencies (notnull SCR_WorkshopItem mainItem, bool downloadMainItem, notnull array< ref SCR_WorkshopItem > dependencies, bool subscribeToAddons) |
| static void | SetupDownloadDialogAddons (notnull out SCR_DownloadConfirmationDialog dialog, notnull array< ref Tuple2< SCR_WorkshopItem, ref Revision > > addonsAndVersions, bool subscribeToAddons) |
| static SCR_DownloadConfirmationDialog | CreateForAddons (notnull array< ref Tuple2< SCR_WorkshopItem, ref Revision > > addonsAndVersions, bool subscribeToAddons) |
| Download addons with specific versions. | |
Protected Attributes | |
| const ResourceName | DOWNLOAD_LINE_LAYOUT = "{BB5AEDDA3C4134FD}UI/layouts/Menus/ContentBrowser/DownloadManager/DownloadManager_AddonDownloadLineConfirmation.layout" |
| ref SCR_WorkshopItem | m_Item |
| bool | m_bDownloadMainItem |
| ref array< ref SCR_WorkshopItem > | m_aDependencies |
| ref array< ref Revision > | m_aDependencyVersions |
| bool | m_bSubscribeToAddons |
| ref SCR_DownloadConfirmationDialogContentWidgets | m_Widgets = new SCR_DownloadConfirmationDialogContentWidgets() |
| ref array< ref SCR_WorkshopItemAction > | m_aCreatedActions = {} |
| ref SCR_AddonPatchSizeLoader | m_Loader = new SCR_AddonPatchSizeLoader() |
| ref ScriptInvoker | m_OnDownloadConfirmed |
Dialog for confirming multiple downloads in workshop.
Definition at line 3 of file SCR_DownloadConfirmationDialog.c.
|
inlineprotected |
Definition at line 200 of file SCR_DownloadConfirmationDialog.c.
|
inlineprotected |
Create and setup addon widget text and verions.
Definition at line 183 of file SCR_DownloadConfirmationDialog.c.
|
inlinestaticprotected |
The created download action will be bound to one main item and its dependencies. mainItem - the main addon for which the dialog is created. downloadMainItem - when true, main item will be considered for download. dependencies -array with dependencies. Cannot be null, but can be empty.
Definition at line 26 of file SCR_DownloadConfirmationDialog.c.
|
inlinestaticprotected |
Download addons with specific versions.
Definition at line 63 of file SCR_DownloadConfirmationDialog.c.
|
inlineprotected |
Returns the internal array with created download actions.
Definition at line 334 of file SCR_DownloadConfirmationDialog.c.
|
inlineprotected |
Definition at line 129 of file SCR_DownloadConfirmationDialog.c.
|
inlineprotected |
Definition at line 161 of file SCR_DownloadConfirmationDialog.c.
|
inlineprotected |
Definition at line 263 of file SCR_DownloadConfirmationDialog.c.
|
inlineprotected |
This is only valid when we can download the main addon.
Definition at line 314 of file SCR_DownloadConfirmationDialog.c.
|
inlineprotected |
Definition at line 77 of file SCR_DownloadConfirmationDialog.c.
|
inlineprotected |
Hides all explanation text.
Definition at line 257 of file SCR_DownloadConfirmationDialog.c.
|
inlineprotected |
Sets text: "%1 dependencies will be downloaded:" over the dependencies list.
This dialog can be used in a few contexts. These SetStyle methods set up the widgets according to specific use cases.
Definition at line 244 of file SCR_DownloadConfirmationDialog.c.
|
inlinestaticprotected |
Definition at line 47 of file SCR_DownloadConfirmationDialog.c.
|
protected |
Definition at line 5 of file SCR_DownloadConfirmationDialog.c.
|
protected |
Definition at line 12 of file SCR_DownloadConfirmationDialog.c.
|
protected |
Definition at line 8 of file SCR_DownloadConfirmationDialog.c.
|
protected |
Definition at line 9 of file SCR_DownloadConfirmationDialog.c.
|
protected |
Definition at line 7 of file SCR_DownloadConfirmationDialog.c.
|
protected |
Definition at line 10 of file SCR_DownloadConfirmationDialog.c.
|
protected |
Definition at line 6 of file SCR_DownloadConfirmationDialog.c.
|
protected |
Definition at line 14 of file SCR_DownloadConfirmationDialog.c.
|
protected |
Definition at line 19 of file SCR_DownloadConfirmationDialog.c.
|
protected |
Definition at line 11 of file SCR_DownloadConfirmationDialog.c.