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

◆ FindFreeLocationFor()

proto native bool GameInventory::FindFreeLocationFor ( notnull EntityAI item,
FindInventoryLocationType flags,
out notnull InventoryLocation loc )
protected

FindFreeLocationFor.

Аргументы
[in]itemitem that would be placed in inventory
[out]locthe InventoryLocation the item can be placed to
Возвращает
true if found any, false otherwise

Используется в AddEntityToInventory(), CanAddEntityInto(), CanAddEntityToInventory(), TakeEntityToInventory() и HumanInventory::TakeEntityToInventory().