6 [
Attribute(
"{30907DAA2D89E065}UI/layouts/Menus/Tooltips/Tooltip_ListLine_NoBG.layout")]
7 protected ResourceName m_sAddonLineLayout;
9 protected VerticalLayoutWidget m_wAddonsList;
12 protected override void HandlerAttached(Widget w)
14 m_wAddonsList = VerticalLayoutWidget.Cast(w.FindAnyWidget(
"AddonsList"));
16 super.HandlerAttached(w);
20 void Init(array<ref SCR_WorkshopItem> addons)
24 Widget w =
GetGame().GetWorkspace().CreateWidgets(m_sAddonLineLayout, m_wAddonsList);
25 TextWidget wText = TextWidget.Cast(w.FindAnyWidget(
"Text"));
27 wText.SetText(addon.GetName());