846 {
847 InventoryLocation src = new InventoryLocation;
849 {
851 {
853 if (man)
854 {
855 if (LogManager.IsInventoryMoveLogEnable())
inventoryDebugPrint(
"Inventory::EEInit - Man=" + man +
" item=" +
this);
856 man.GetHumanInventory().OnEntityInHandsCreated(src);
857 }
858 }
859 }
860 }
void inventoryDebugPrint(string s)
InventoryLocationType
types of Inventory Location
proto native bool GetCurrentInventoryLocation(out notnull InventoryLocation loc)
returns information about current item location
proto native EntityAI GetParent()
returns parent of current inventory location
proto native int GetType()
returns type of InventoryLocation