Item.dbc

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

(Различия между версиями)
Перейти к: навигация, поиск
 
(9 промежуточных версий не показаны.)
Строка 2: Строка 2:
| __TOC__
| __TOC__
|}
|}
-
Back to [[Dbc_struct|Dbc_struct]] list.
+
К описанию [[Dbc_struct|DBC файлов]].
-
<big>'''`Item` dbc'''</big>
+
<big>'''Item.dbc'''</big>
-
This dbc contains all item entries for real usable items and texture only ones used for creatures equipment.
+
Содержит список всех предметов игрового мира. Именно из-за этого DBC вы не можете создать предмет с собственным номером (entry) и моделькой.
-
Any item in item_template table with an entry not in this dbc will be displayed by client with a red ? symbol.
+
-
Corresponding item_template records must match these values except Subclass (which contains erroneous values).  
+
'''Версия: 3.3.2'''
-
'''Version is : 3.1.3'''
+
==='''Структура'''===
-
 
+
-
==='''Structure'''===
+
{| border="1"
{| border="1"
-
|'''Field Nb'''
+
|'''№ п/п'''
-
|'''Name'''
+
|'''Название'''
-
|'''Type'''
+
|'''Тип поля'''
|-
|-
|1
|1
-
|ID
+
|entry
-
|Int
+
|MediumInt(8) unsigned
|-
|-
|2
|2
-
|Class
+
|class
-
|Int
+
|TinyInt(3) unsigned
|-
|-
|3
|3
-
|SubClass
+
|subclass
-
|Int
+
|TinyInt(3) unsigned
|-
|-
|4
|4
-
|Unk0
+
|unk0
-
|Int
+
|Int(11)
|-
|-
|5
|5
|Material
|Material
-
|Int
+
|TinyInt(4)
|-
|-
|6
|6
-
|DisplayId
+
|displayid
-
|Int
+
|MediumInt(8) unsigned
|-
|-
|7
|7
|InventoryType
|InventoryType
-
|Int
+
|TinyInt(3) unsigned
|-
|-
|8
|8
-
|Sheath
+
|sheath
-
|Int
+
|TinyInt(3) unsigned
|}
|}
-
==='''Content'''===
 
-
The content is too big and useless for the purpose of this wiki.
+
<big>'''Описание полей'''</big>
 +
 
 +
====entry====
 +
[[item_template#entry|item_template.entry]]
 +
 
 +
====class====
 +
[[item_template#class|item_template.class]]
 +
 
 +
====subclass====
 +
[[item_template#subclass|item_template.subclass]]
 +
 
 +
====unk0====
 +
[[item_template#unk0|item_template.unk0]]
 +
 
 +
====Material====
 +
[[item_template#Material|item_template.Material]]
 +
 
 +
====displayid====
 +
[[item_template#displayid|item_template.displayid]]
-
==='''MaNGOS usage'''===
+
====InventoryType====
 +
[[item_template#InventoryType|item_template.InventoryType]]
-
<pre>struct ItemEntry
+
====sheath====
-
{
+
[[item_template#sheath|item_template.sheath]]
-
  uint32  ID;                        // 0
+
-
  uint32  Class;                    // 1
+
-
  uint32  SubClass;                  // 2 some items have strange subclasses
+
-
  int32    Unk0;                      // 3
+
-
  int32    Material;                  // 4
+
-
  uint32  DisplayId;                // 5
+
-
  uint32  InventoryType;            // 6
+
-
  uint32  Sheath;                    // 7
+
-
};</pre>
+
-
(с)udbwiki
+

Текущая версия на 18:04, 9 октября 2010

Содержание

К описанию DBC файлов.


Item.dbc

Содержит список всех предметов игрового мира. Именно из-за этого DBC вы не можете создать предмет с собственным номером (entry) и моделькой.

Версия: 3.3.2

Структура

№ п/п Название Тип поля
1 entry MediumInt(8) unsigned
2 class TinyInt(3) unsigned
3 subclass TinyInt(3) unsigned
4 unk0 Int(11)
5 Material TinyInt(4)
6 displayid MediumInt(8) unsigned
7 InventoryType TinyInt(3) unsigned
8 sheath TinyInt(3) unsigned


Описание полей

entry

item_template.entry

class

item_template.class

subclass

item_template.subclass

unk0

item_template.unk0

Material

item_template.Material

displayid

item_template.displayid

InventoryType

item_template.InventoryType

sheath

item_template.sheath

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