Character inventory

Материал из YTDB DataBase

Версия от 17:11, 7 марта 2010; Neggod (Обсуждение | вклад)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

Содержание

Back to the characters database list of tables.


The `character_inventory` table

Эта таблица содержит все данные об инвенторе персонажа, включает в себя и предметы в банке.


Structure

Field Type Null Key Default Extra
guid int(11) unsigned NO 0
bag int(11) unsigned NO 0
slot tinyint(3) unsigned NO 0
item int(11) unsigned NO PRI 0
item_template int(11) unsigned NO 0


Description of the fields

guid

GUID Персонажа. See characters.guid

bag

If it isn't 0, then it is the bag's item GUID. См. item_instance.guid

slot

If the bag field is non-zero, then the slot is the slot in the bag where the item is kept. The range can differ depending on the number of slots the bag has.
If the bag field is zero, then the slot has a range of 0 to 84 and the value stands for the following:

Slot # Value
0 Head
1 Neck
2 Shoulders
3 Body
4 Chest
5 Waist
6 Legs
7 Feet
8 Wrists
9 Hands
10 Finger 1
11 Finger 2
12 Trinket 1
13 Trinket 2
14 Back
15 Main Hand
16 Off Hand
17 Ranged
18 Tabard
19-22 Equipped Bags
23-38 Main Backpack
39-67 Main Bank
68-74 Bank Bags

item

GUID предмета. См. item_instance.guid

item_template

ID предмета. См. item_template.entry

Личные инструменты