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

◆ HandleFallingForConstructedParts()

void ItemBase::HandleFallingForConstructedParts ( )
inlineprotected

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

1165 {
1166 Construction construction = GetConstruction();
1167 if (!construction)
1168 return;
1169
1170 map<string, ref ConstructionPart> constructionParts = construction.GetConstructionParts();
1171 for ( int i = constructionParts.Count() - 1; i >= 0; --i )
1172 {
1173 ConstructionPart part = constructionParts.GetElement(i);
1174 if (part && part.IsBuilt() && !part.IsUtilityPart())
1175 {
1176 construction.HandleEntityFalling(part.GetPartName());
1177 }
1178 }
1179 }
void ConstructionPart(string name, string part_name, string main_part_name, int id, bool is_built, bool is_base, bool is_gate, array< string > required_parts)
Определения ConstructionPart.c:531
map
Определения ControlsXboxNew.c:4
string GetPartName()
Определения ConstructionPart.c:198
bool IsBuilt()
Определения ConstructionPart.c:160
bool IsUtilityPart()
Определения ConstructionPart.c:233
Construction GetConstruction()
Определения BaseBuildingBase.c:883

Перекрестные ссылки GetConstruction(), ConstructionPart::GetPartName(), ConstructionPart::IsBuilt() и ConstructionPart::IsUtilityPart().