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

◆ CanRemoveEntity()

bool GameInventory::CanRemoveEntity ( )
inlineprotected

Returns if entity can be removed from its current location.

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

938 {
939 InventoryLocation il = new InventoryLocation;
941 return LocationCanRemoveEntity(il);
942
943 return false;
944 }
proto native bool GetCurrentInventoryLocation(out notnull InventoryLocation loc)
returns information about current item location
static proto native bool LocationCanRemoveEntity(notnull InventoryLocation inv_loc)
queries if the entity contained in inv_loc.m_item can be removed from ground/attachment/cargo/hands/....

Перекрестные ссылки GetCurrentInventoryLocation() и LocationCanRemoveEntity().