1821 {
1823 if (!player)
1824 return false;
1825
1826 HumanInventory inv = player.GetHumanInventory();
1828 return false;
1829
1831 InventoryLocation loc = new InventoryLocation();
1832 if (id == -1)
1833 return false;
1834
1836
1838 return false;
1839
1840 return true;
1841 }
proto native Man GetHierarchyRootPlayer()
Returns root of current hierarchy cast to Man.
proto native int GetUserReservedLocationCount()
proto native int FindFirstUserReservedLocationIndexForContainer(notnull EntityAI e)
proto native void GetUserReservedLocation(int index, out notnull InventoryLocation dst)
proto native int GetSlot()
returns slot id if current type is Attachment