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

◆ CanSwapEntities()

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

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

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

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