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

◆ HierarchyCheck()

void HierarchyCheck ( out bool hasParent,
out bool hasRootAsPlayer,
out ItemBase refParentIB )
protected

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

4613 {
4614 // hierarchy check for an item to decide whether it has some parent and it is in some player inventory
4615 EntityAI parent = GetHierarchyParent();
4616 if (!parent)
4617 {
4618 hasParent = false;
4619 hasRootAsPlayer = false;
4620 }
4621 else
4622 {
4623 hasParent = true;
4624 hasRootAsPlayer = (GetHierarchyRootPlayer() != null);
4625 refParentIB = ItemBase.Cast(parent);
4626 }
4627 }

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