class TypeAttachmentGroupsDataHolder
Data holder for attachment group classes
Constructors 1
void TypeAttachmentGroupsDataHolder(string parentType)Referenced by EntityAIType.InitTypeAttachmentGroupsData()
Members 7
protected int m_ValidSubclassCountprotected string m_ParentTypeprotected string m_AttGroupHeaderDisplayNameprotected string m_PropsPathfull path to 'GUIInventoryAttachmentsProps'
protected ref TAttachmentGroupMap m_AttachmentGroupMap<GroupSubclassName, ref cachedInfo>
Referenced by GetAttachmentGroupMap(), GetAttGroupDataByClassName(), Init()
Show 1 more
, RefreshLocalizedTexts()protected ref map<string, ref array<TypeAttachmentGroupData>> m_SelectionPairingMap<selection name, <cachedInfos array>>
Methods 9
protected void Init()References CGame.ConfigGetChildName(), CGame.ConfigGetChildrenCount(), CGame.ConfigGetText()
Show 17 more
, CGame.ConfigIsExisting(), map.Count(), map.Get(), array.Insert(), TypeAttachmentGroupData.IsValid(), map.Set(), map.Set(), new TAttachmentGroupMap(), new TypeAttachmentGroupData(), m_AttachmentGroupMap, m_AttGroupHeaderDisplayName, m_IsValid, m_ParentType, m_PropsPath, TypeAttachmentGroupData.m_SelectionName, m_SelectionPairingMap, and m_ValidSubclassCountReferenced by TypeAttachmentGroupsDataHolder()
void RefreshLocalizedTexts()Re-reads localized header/name strings without rebuilding slot config data
Referenced by AttachmentCategoriesContainer.UpdateNames()
TAttachmentGroupMap GetAttachmentGroupMap()References m_AttachmentGroupMap
int GetValidAttachmnetGroupCount()References m_ValidSubclassCount
string GetPropsCfgPath()References m_PropsPath
Referenced by AttachmentCategoriesContainer.InitGhostSlots()
TypeAttachmentGroupData GetAttGroupDataByClassName(string groupName)Returns single 'GUIInventoryAttachmentsProps' subclass data based on class name
array<TypeAttachmentGroupData> GetAttGroupsDataBySelectionParam(string selectionName)Returns an array of 'GUIInventoryAttachmentsProps' subclasses that use the same 'selection'
string GetHeaderDisplayName()References m_AttGroupHeaderDisplayName
Referenced by AttachmentCategoriesContainer.SetHeaderName()