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

◆ CloseDoorOnPartUnbuild()

void ConstructionPart::CloseDoorOnPartUnbuild ( EntityAI parent)
inlineprotected

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

448 {
449 BuildingBase buildingBase = BuildingBase.Cast(parent);
450 if (buildingBase)
451 {
452 map<int, ref AdditionalDoorInfo> infoMap = buildingBase.GetDoorInfoHolder().GetDoorInfoMap();
453 foreach (int idx, ref AdditionalDoorInfo info : infoMap)
454 {
455 if (info.m_DoorConstructionPartName == GetPartName() && !buildingBase.IsDoorClosed(idx))
456 buildingBase.CloseDoor(idx);
457 }
458 }
459 }
void BuildingBase()
map
Определения ControlsXboxNew.c:4
string GetPartName()
Определения ConstructionPart.c:198

Перекрестные ссылки BuildingBase() и GetPartName().

Используется в OnDestroyedServer() и OnDismantledServer().