GR5_InventoryBag - zeroKilo/GROBackendWV GitHub Wiki

Database associations

Inventory bag is the broadest item entity, grouping inventory bag slots of some logical affiliation, like inventory (all items bought by a player) or loadout (class-specific equipped items). The association is bag.bagtype and bagSlot.bagid.

GR5 object

  • m_PersonaID (FK of personas)
  • m_InventoryBagType (FK of inventorybagslots, see below)
  • m_InventoryBagSlotVector (list of bag slots referenced by m_InventoryBagType aka bagid in the db)

Database columns

  • id (internal PK)
  • pid (mapped to m_PersonaID)
  • bagtype (mapped to m_InventoryBagType)

Bag types

Bag types by which inventory bag slots are referenced:

0 inventory bag
1 
2 mail bag
3 hidden bag
4 assault loadout bag
5 recon loadout bag
6 specialist loadout bag
7 
8 deleted bag