Gets the bitpacked obj in the slot provided.
the inventory object that's in that slot, or InventoryObject.NULL if there's no object.
the slot in the inventory.
if the slot is outside the inventory's boundaries.