Character equipmentsets
Материал из YTDB DataBase
(Различия между версиями)
Neggod (Обсуждение | вклад) м (→itemX) |
NeatElves (Обсуждение | вклад) |
||
(18 промежуточных версий не показаны.) | |||
Строка 2: | Строка 2: | ||
| __TOC__ | | __TOC__ | ||
|} | |} | ||
- | + | [[Category: Mangos characters database tables]] | |
+ | К описанию таблиц [[Charactersdb_struct|базы данных characters]]. | ||
Строка 9: | Строка 10: | ||
Эта таблица используется для описания комплектов экипировки. | Эта таблица используется для описания комплектов экипировки. | ||
- | <big>''' | + | |
+ | <big>'''Структура'''</big> | ||
{| border="1" | {| border="1" | ||
|'''Field''' | |'''Field''' | ||
|'''Type''' | |'''Type''' | ||
+ | |'''Attributes''' | ||
|'''Null''' | |'''Null''' | ||
- | |||
|'''Default''' | |'''Default''' | ||
+ | |'''Key''' | ||
+ | |'''Comments''' | ||
|'''Extra''' | |'''Extra''' | ||
|- | |- | ||
|[[#guid|guid]] | |[[#guid|guid]] | ||
- | | | + | |int(11) |
+ | | | ||
|NO | |NO | ||
- | |||
|0 | |0 | ||
+ | |MUL | ||
+ | | | ||
| | | | ||
|- | |- | ||
|[[#setguid|setguid]] | |[[#setguid|setguid]] | ||
- | | | + | |bigint(20) |
+ | |unsigned | ||
|NO | |NO | ||
+ | |0 | ||
|PRI | |PRI | ||
- | | | + | | |
- | | | + | |auto_increment |
|- | |- | ||
|[[#setindex|setindex]] | |[[#setindex|setindex]] | ||
- | | | + | |tinyint(4) |
+ | | | ||
|NO | |NO | ||
+ | |0 | ||
+ | |MUL | ||
| | | | ||
- | |||
| | | | ||
|- | |- | ||
- | |[[# | + | |[[#name|name]] |
- | | | + | |varchar(100) |
+ | | | ||
|NO | |NO | ||
| | | | ||
- | | | + | | |
+ | | | ||
| | | | ||
|- | |- | ||
|[[#iconname|iconname]] | |[[#iconname|iconname]] | ||
- | | | + | |varchar(100) |
+ | | | ||
|NO | |NO | ||
| | | | ||
- | | | + | | |
+ | | | ||
| | | | ||
|- | |- | ||
- | |[[# | + | |[[#ignore_mask|ignore_mask]] |
- | | | + | |int(11) |
+ | |unsigned | ||
|NO | |NO | ||
+ | |0 | ||
| | | | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | |[[#itemX|item0]] | ||
+ | |int(11) | ||
+ | |unsigned | ||
+ | |NO | ||
|0 | |0 | ||
+ | | | ||
+ | | | ||
| | | | ||
|- | |- | ||
- | |[[#itemX| | + | |[[#itemX|item1]] |
- | | | + | |int(11) |
+ | |unsigned | ||
|NO | |NO | ||
+ | |0 | ||
| | | | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | |[[#itemX|item2]] | ||
+ | |int(11) | ||
+ | |unsigned | ||
+ | |NO | ||
|0 | |0 | ||
+ | | | ||
+ | | | ||
| | | | ||
|- | |- | ||
|[[#itemX|item3]] | |[[#itemX|item3]] | ||
- | | | + | |int(11) |
+ | |unsigned | ||
|NO | |NO | ||
- | |||
|0 | |0 | ||
+ | | | ||
+ | | | ||
| | | | ||
|- | |- | ||
|[[#itemX|item4]] | |[[#itemX|item4]] | ||
- | | | + | |int(11) |
+ | |unsigned | ||
|NO | |NO | ||
- | |||
|0 | |0 | ||
+ | | | ||
+ | | | ||
| | | | ||
|- | |- | ||
|[[#itemX|item5]] | |[[#itemX|item5]] | ||
- | | | + | |int(11) |
+ | |unsigned | ||
|NO | |NO | ||
- | |||
|0 | |0 | ||
+ | | | ||
+ | | | ||
| | | | ||
|- | |- | ||
|[[#itemX|item6]] | |[[#itemX|item6]] | ||
- | | | + | |int(11) |
+ | |unsigned | ||
|NO | |NO | ||
- | |||
|0 | |0 | ||
+ | | | ||
+ | | | ||
| | | | ||
|- | |- | ||
|[[#itemX|item7]] | |[[#itemX|item7]] | ||
- | | | + | |int(11) |
+ | |unsigned | ||
|NO | |NO | ||
- | |||
|0 | |0 | ||
+ | | | ||
+ | | | ||
| | | | ||
|- | |- | ||
|[[#itemX|item8]] | |[[#itemX|item8]] | ||
- | | | + | |int(11) |
+ | |unsigned | ||
|NO | |NO | ||
- | |||
|0 | |0 | ||
+ | | | ||
+ | | | ||
| | | | ||
|- | |- | ||
|[[#itemX|item9]] | |[[#itemX|item9]] | ||
- | | | + | |int(11) |
+ | |unsigned | ||
|NO | |NO | ||
- | |||
|0 | |0 | ||
+ | | | ||
+ | | | ||
| | | | ||
|- | |- | ||
|[[#itemX|item10]] | |[[#itemX|item10]] | ||
- | | | + | |int(11) |
+ | |unsigned | ||
|NO | |NO | ||
- | |||
|0 | |0 | ||
+ | | | ||
+ | | | ||
| | | | ||
|- | |- | ||
|[[#itemX|item11]] | |[[#itemX|item11]] | ||
- | | | + | |int(11) |
+ | |unsigned | ||
|NO | |NO | ||
- | |||
|0 | |0 | ||
+ | | | ||
+ | | | ||
| | | | ||
|- | |- | ||
|[[#itemX|item12]] | |[[#itemX|item12]] | ||
- | | | + | |int(11) |
+ | |unsigned | ||
|NO | |NO | ||
- | |||
|0 | |0 | ||
+ | | | ||
+ | | | ||
| | | | ||
|- | |- | ||
|[[#itemX|item13]] | |[[#itemX|item13]] | ||
- | | | + | |int(11) |
+ | |unsigned | ||
|NO | |NO | ||
- | |||
|0 | |0 | ||
+ | | | ||
+ | | | ||
| | | | ||
|- | |- | ||
|[[#itemX|item14]] | |[[#itemX|item14]] | ||
- | | | + | |int(11) |
+ | |unsigned | ||
|NO | |NO | ||
- | |||
|0 | |0 | ||
+ | | | ||
+ | | | ||
| | | | ||
|- | |- | ||
|[[#itemX|item15]] | |[[#itemX|item15]] | ||
- | | | + | |int(11) |
+ | |unsigned | ||
|NO | |NO | ||
- | |||
|0 | |0 | ||
+ | | | ||
+ | | | ||
| | | | ||
|- | |- | ||
|[[#itemX|item16]] | |[[#itemX|item16]] | ||
- | | | + | |int(11) |
+ | |unsigned | ||
|NO | |NO | ||
- | |||
|0 | |0 | ||
+ | | | ||
+ | | | ||
| | | | ||
|- | |- | ||
|[[#itemX|item17]] | |[[#itemX|item17]] | ||
- | | | + | |int(11) |
+ | |unsigned | ||
|NO | |NO | ||
- | |||
|0 | |0 | ||
+ | | | ||
+ | | | ||
| | | | ||
|- | |- | ||
|[[#itemX|item18]] | |[[#itemX|item18]] | ||
- | | | + | |int(11) |
+ | |unsigned | ||
|NO | |NO | ||
- | |||
|0 | |0 | ||
+ | | | ||
+ | | | ||
| | | | ||
|} | |} | ||
- | <big>''' | + | <big>'''Описание полей'''</big> |
- | ==== | + | ====guid==== |
GUID персонажа. См. [[characters#guid|characters.guid]] | GUID персонажа. См. [[characters#guid|characters.guid]] | ||
+ | |||
====setguid==== | ====setguid==== | ||
GUID экипировки. | GUID экипировки. | ||
====setindex==== | ====setindex==== | ||
Поле, в меню управления экипировкой, выбранное под данный комплект экипировки (0-9) | Поле, в меню управления экипировкой, выбранное под данный комплект экипировки (0-9) | ||
- | ==== | + | ====name==== |
Название комплекта экипировки | Название комплекта экипировки | ||
+ | |||
====iconname==== | ====iconname==== | ||
- | Название иконки для данного комплекта экипировки. | + | Название иконки для данного комплекта экипировки. ([[ItemDisplayInfo.dbc]], колонка 6) |
+ | |||
====itemX==== | ====itemX==== | ||
GUID предмета в каждом слоте данного комплекта экипировки.См. [[Item_instance#guid|Item_instance.guid]] | GUID предмета в каждом слоте данного комплекта экипировки.См. [[Item_instance#guid|Item_instance.guid]] | ||
{| border=1 cellspacing=0 cellpadding=3 | {| border=1 cellspacing=0 cellpadding=3 | ||
- | ! Номер слота !! | + | ! Номер слота !! Описание |
+ | |- | ||
+ | | 0 || Head | ||
|- | |- | ||
- | | 1 || | + | | 1 || Neck |
|- | |- | ||
- | | 2 || | + | | 2 || Shoulders |
|- | |- | ||
- | | 3 || | + | | 3 || Body |
|- | |- | ||
- | | 4 || | + | | 4 || Chest |
|- | |- | ||
- | | 5 || | + | | 5 || Waist |
|- | |- | ||
- | | 6 || | + | | 6 || Legs |
|- | |- | ||
- | | 7 || | + | | 7 || Feet |
|- | |- | ||
- | | 8 || | + | | 8 || Wrists |
|- | |- | ||
- | | 9 || | + | | 9 || Hands |
|- | |- | ||
- | | 10 || | + | | 10 || Finger 1 |
|- | |- | ||
- | | 11 || Finger | + | | 11 || Finger 2 |
|- | |- | ||
- | | 12 || | + | | 12 || Trinket 1 |
|- | |- | ||
- | | 13 || Trinket | + | | 13 || Trinket 2 |
|- | |- | ||
- | | 14 || | + | | 14 || Back |
|- | |- | ||
- | | 15 || | + | | 15 || Main Hand |
|- | |- | ||
- | | 16 || | + | | 16 || Off Hand |
|- | |- | ||
- | | 17 || | + | | 17 || Ranged |
|- | |- | ||
- | | 18 || | + | | 18 || Tabard |
|} | |} |
Текущая версия на 16:39, 16 июля 2011
|
К описанию таблиц базы данных characters.
Таблица `character_equipmentsets`
Эта таблица используется для описания комплектов экипировки.
Структура
Field | Type | Attributes | Null | Default | Key | Comments | Extra |
guid | int(11) | NO | 0 | MUL | |||
setguid | bigint(20) | unsigned | NO | 0 | PRI | auto_increment | |
setindex | tinyint(4) | NO | 0 | MUL | |||
name | varchar(100) | NO | |||||
iconname | varchar(100) | NO | |||||
ignore_mask | int(11) | unsigned | NO | 0 | |||
item0 | int(11) | unsigned | NO | 0 | |||
item1 | int(11) | unsigned | NO | 0 | |||
item2 | int(11) | unsigned | NO | 0 | |||
item3 | int(11) | unsigned | NO | 0 | |||
item4 | int(11) | unsigned | NO | 0 | |||
item5 | int(11) | unsigned | NO | 0 | |||
item6 | int(11) | unsigned | NO | 0 | |||
item7 | int(11) | unsigned | NO | 0 | |||
item8 | int(11) | unsigned | NO | 0 | |||
item9 | int(11) | unsigned | NO | 0 | |||
item10 | int(11) | unsigned | NO | 0 | |||
item11 | int(11) | unsigned | NO | 0 | |||
item12 | int(11) | unsigned | NO | 0 | |||
item13 | int(11) | unsigned | NO | 0 | |||
item14 | int(11) | unsigned | NO | 0 | |||
item15 | int(11) | unsigned | NO | 0 | |||
item16 | int(11) | unsigned | NO | 0 | |||
item17 | int(11) | unsigned | NO | 0 | |||
item18 | int(11) | unsigned | NO | 0 |
Описание полей
guid
GUID персонажа. См. characters.guid
setguid
GUID экипировки.
setindex
Поле, в меню управления экипировкой, выбранное под данный комплект экипировки (0-9)
name
Название комплекта экипировки
iconname
Название иконки для данного комплекта экипировки. (ItemDisplayInfo.dbc, колонка 6)
itemX
GUID предмета в каждом слоте данного комплекта экипировки.См. Item_instance.guid
Номер слота | Описание |
---|---|
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 |