Slot.id

Item's id or 0 if the slot is empty.

struct Slot
int id;

Meta