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

◆ CanSwapEntities()

override bool CanSwapEntities ( EntityAI otherItem,
InventoryLocation otherDestination,
InventoryLocation destination )
protected

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

2528 {
2529 if (!otherDestination || otherDestination.GetParent() == this)
2530 {
2531 return false;
2532 }
2533 return true;
2534 }
proto native EntityAI GetParent()
returns parent of current inventory location

Перекрестные ссылки InventoryLocation::GetParent().