Skip to content

character_inventory

Contains all the character inventory data, including the bank data.

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
guidintunsignedMULNO0Global Unique Identifier
bagintunsignedNO0
slottinyintunsignedNO0
itemintunsignedPRINO0Item Global Unique Identifier
 

Description of fields ​

guid ​

The guid of the character.  

bag ​

  • bag = 0: item is equipped, in basic backpack, in basic bank, on keyring or similar.
  • bag > 0: This is the item guid of the container where item it kept.  

slot ​

  • bag > 0: the slot in the bag where the item is kept. (0 – (ContainerSlots - 1))
  • bag = 0: slot from INVENTORY_SLOT_BAG_0 as described by the table below:
Slot #Description
0Head
1Neck
2Shoulders
3Body
4Chest
5Waist
6Legs
7Feet
8Wrists
9Hands
10Finger 1
11Finger 2
12Trinket 1
13Trinket 2
14Back
15Main Hand
16Off Hand
17Ranged
18Tabard
19 – 22Bags equipped on Character
23 – 38Main Backpack
39 – 66Main Bank
67 – 73Bags equipped on Bank
74 – 85Vendor Buyback Slots
86 – 117Keys in Keyring
118 – 149Currencies (Emblems, Badges, Marks, etc.)

 

item ​

The item guid in inventory.