DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ InitAttachmentGUIPartStructure()

void ConstructionDataTypeHolder::InitAttachmentGUIPartStructure ( EntityAIType eType)
inlineprotected

См. определение в файле ConstructionPartTypedHolder.c строка 65

66 {
67 if (m_GuiRequiredPartTypesMap) //prevents double inits
68 return;
69
70 TypeAttachmentGroupsDataHolder holder = eType.GetTypeAttachmentGroupsDataHolder();
71 if (!holder.IsValid())
72 return;
73
76 foreach (string name, ref TypeAttachmentGroupData data : groupMap)
77 {
78 m_GuiRequiredPartTypesMap.Set(name, new array<ConstructionPartTypeData>());
79 }
80 }
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
map
Определения ControlsXboxNew.c:4
map< string, ref TypeAttachmentGroupData > TAttachmentGroupMap
Определения TypeAttachmentGroupDataHolders.c:1
ref map< string, ref array< ConstructionPartTypeData > > m_GuiRequiredPartTypesMap
Определения ConstructionPartTypedHolder.c:6
TypeAttachmentGroupsDataHolder GetTypeAttachmentGroupsDataHolder()
Определения EntityAIType.c:76
TAttachmentGroupMap GetAttachmentGroupMap()

Перекрестные ссылки TypeAttachmentGroupsDataHolder::GetAttachmentGroupMap(), EntityAIType::GetTypeAttachmentGroupsDataHolder(), TypeAttachmentGroupsDataHolder::IsValid(), m_GuiRequiredPartTypesMap и name.

Используется в InitPartsTypeDataHolder().