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

◆ CanRemoveEntity()

bool GameInventory::CanRemoveEntity ( )
inlineprotected

Returns if entity can be removed from its current location.

См. определение в файле 3_Game/DayZ/Systems/Inventory/Inventory.c строка 939

940 {
941 InventoryLocation il = new InventoryLocation;
943 return LocationCanRemoveEntity(il);
944
945 return false;
946 }
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().