DayZ 1.29
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(), ManBase::HandleRemoteItemManipulation(), EntityAI::PredictiveMoveItemFromHandsToInventory(), InventoryItem::SplitIntoStackMax(), InventoryItem::SplitIntoStackMaxEx(), TakeEntityToInventory() и HumanInventory::TakeEntityToInventory().