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

◆ CanSwapEntities()

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

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

2510 {
2511 if (!otherDestination || otherDestination.GetParent() == this)
2512 {
2513 return false;
2514 }
2515 return true;
2516 }
proto native EntityAI GetParent()
returns parent of current inventory location

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