DIFF

class TypeAttachmentGroupsDataHolder

Data holder for attachment group classes

Constructors 1

void TypeAttachmentGroupsDataHolder(string parentType)
References Init(), and m_ParentType

Members 7

protected int m_ValidSubclassCount
protected bool m_IsValid
Referenced by Init(), and IsValid()
protected string m_ParentType
protected string m_AttGroupHeaderDisplayName
protected string m_PropsPath

full path to 'GUIInventoryAttachmentsProps'

protected ref TAttachmentGroupMap m_AttachmentGroupMap

<GroupSubclassName, ref cachedInfo>

protected ref map<string, ref array<TypeAttachmentGroupData>> m_SelectionPairingMap

<selection name, <cachedInfos array>>

Methods 9

void RefreshLocalizedTexts()

Re-reads localized header/name strings without rebuilding slot config data

string GetPropsCfgPath()
References m_PropsPath
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'