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

◆ LocationCanAddEntity()

static proto native bool GameInventory::LocationCanAddEntity ( notnull InventoryLocation inv_loc)
staticprotected

queries if the entity contained in inv_loc.m_item can be added to ground/attachment/cargo/hands/...

query the entity at the specific inventory location

Возвращает
true if can be added, false otherwise
entity at the location, null otherwise

Используется в LocationCanAddEntityEx() и TransferInventory().