9 static SCR_DownloadFailDialog CreateFailedAddonsDialog(notnull array<ref Tuple2<SCR_WorkshopItem, ref Revision>> addonsAndVersions,
bool subscribeToAddons)
13 SetupAddons(dlg, addonsAndVersions, subscribeToAddons);
21 protected static void SetupAddons(notnull out
SCR_DownloadFailDialog dialog, notnull array<ref Tuple2<SCR_WorkshopItem, ref Revision>> addonsAndVersions,
bool subscribeToAddons)
23 dialog.m_bDownloadMainItem =
false;
24 dialog.m_bSubscribeToAddons = subscribeToAddons;
25 dialog.m_aDependencies =
new array<ref SCR_WorkshopItem>;
26 dialog.m_aDependencyVersions =
new array<ref Revision>;
28 foreach (Tuple2<SCR_WorkshopItem, ref Revision> i : addonsAndVersions)
30 dialog.m_aDependencies.Insert(i.param1);
31 dialog.m_aDependencyVersions.Insert(i.param2);
38 super.OnMenuOpen(preset);
39 m_Widgets.m_UpdateSpacer.SetVisible(
false);