29 super.HandlerAttached(w);
41 m_NavCopyComponent = CreateNavigationButton(
"MenuSelect",
"#AR-Workshop_AddonsExportCopyBtn",
true);
45 switch (m_iUsedFormat)
60 m_Widgets.m_ScrollLayout.SetSliderPos(0,0);
68 "\t{\n\t\t\%1: %2,\n\t\t%3: %4,\n\t\t%5: %6\n\t}",
69 qstr(
"modId"), qstr(item.GetId()),
70 qstr(
"name"), qstr(item.GetName()),
71 qstr(
"version"), qstr(item.GetCurrentLocalRevision().GetVersion()) );
75 static string qstr(
string s)
77 return string.Format(
"\"%1\"", s);
92 if (!enabledAddons.IsEmpty())
96 for (
int i = 1; i < enabledAddons.Count(); i++)
108 string cli =
"-addons ";
113 if (!enabledAddons.IsEmpty())
115 cli = cli + enabledAddons[0].GetId();
116 for (
int i = 1; i < enabledAddons.Count(); i++)
117 cli = cli +
", " + enabledAddons[i].
GetId();