// Token: 0x060016C8 RID: 5832 RVA: 0x00061BF7 File Offset: 0x0005FDF7 public bool HasItem(ItemIndex itemIndex) { if (!ItemCatalog.IsIndexValid(itemIndex)) { return(false); } if (itemIndex < ItemIndex.FireRing) { return((this.a & 1UL << (int)itemIndex) > 0UL); } return((this.b & 1UL << itemIndex - ItemIndex.FireRing) > 0UL); }
// Token: 0x060016CA RID: 5834 RVA: 0x00061C6E File Offset: 0x0005FE6E public void RemoveItem(ItemIndex itemIndex) { if (!ItemCatalog.IsIndexValid(itemIndex)) { return; } if (itemIndex < ItemIndex.FireRing) { this.a &= ~(1UL << (int)itemIndex); return; } this.b &= ~(1UL << itemIndex - ItemIndex.FireRing); }
// Token: 0x060016C9 RID: 5833 RVA: 0x00061C31 File Offset: 0x0005FE31 public void AddItem(ItemIndex itemIndex) { if (!ItemCatalog.IsIndexValid(itemIndex)) { return; } if (itemIndex < ItemIndex.FireRing) { this.a |= 1UL << (int)itemIndex; return; } this.b |= 1UL << itemIndex - ItemIndex.FireRing; }