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

◆ CanSwapEntities()

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

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

2503 {
2504 if (!otherDestination || otherDestination.GetParent() == this)
2505 {
2506 return false;
2507 }
2508 return true;
2509 }
proto native EntityAI GetParent()
returns parent of current inventory location

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