The size of the inventory
The selected slot in the inventory (hotbar)
The following function can return this type.