844 {
845 InventoryLocation src = new InventoryLocation;
847 {
849 {
851 if (man)
852 {
853 if (LogManager.IsInventoryMoveLogEnable())
inventoryDebugPrint(
"Inventory::EEInit - Man=" + man +
" item=" +
this);
854 man.GetHumanInventory().OnEntityInHandsCreated(src);
855 }
856 }
857 }
858 }
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