12 Print(
"Getting UIInfo from Inventory Items is not supported from Catalog. Get it from InventoryItemComponent after spawning instead!", LogLevel.WARNING);
22 protected string m_sPrefabName;
23 protected string m_sDataListName;
24 protected string m_sEnabledName;
29 m_sPrefabName = prefabName;
30 m_sDataListName = dataListName;
31 m_sEnabledName = enabledName;
35 override bool _WB_GetCustomTitle(BaseContainer source, out
string title)
38 if (!source.Get(m_sEnabledName, enabled))
42 if (!source.Get(m_sPrefabName, path))
47 title = FilePath.StripPath(path.GetPath());
54 array<ref SCR_BaseEntityCatalogData> entityDataList;
55 if (!source.Get(m_sDataListName, entityDataList))
58 string typeTitle, modeTitle;
69 title = title +
" ~ " + typeTitle;
75 title = title +
" - " + modeTitle
82 title =
"DISABLED - " + title;