Returns true if this Inventory owner is in cargo of something.
См. определение в файле Inventory.c строка 395
396 {
397 InventoryLocation lcn = new InventoryLocation();
400 {
401 return true;
402 }
403
404 return false;
405 }
InventoryLocationType
types of Inventory Location
proto native bool GetCurrentInventoryLocation(out notnull InventoryLocation loc)
returns information about current item location
proto native int GetType()
returns type of InventoryLocation
Перекрестные ссылки GetCurrentInventoryLocation() и InventoryLocation::GetType().
Используется в EntityLightSource::CheckIfParentIsInCargo().