Gossip menu
Материал из YTDB DataBase
(Различия между версиями)
NeatElves (Обсуждение | вклад) |
NeatElves (Обсуждение | вклад) |
||
Строка 14: | Строка 14: | ||
|'''Field''' | |'''Field''' | ||
|'''Type''' | |'''Type''' | ||
+ | |'''Attributes''' | ||
|'''Null''' | |'''Null''' | ||
|'''Key''' | |'''Key''' | ||
|'''Default''' | |'''Default''' | ||
- | |''' | + | |'''Comments''' |
|- | |- | ||
|[[#entry|entry]] | |[[#entry|entry]] | ||
- | | | + | |smallint(6) |
+ | |unsigned | ||
|NO | |NO | ||
|PRI | |PRI | ||
Строка 27: | Строка 29: | ||
|- | |- | ||
|[[#text_id|text_id]] | |[[#text_id|text_id]] | ||
- | | | + | |mediumint(8) |
+ | |unsigned | ||
|NO | |NO | ||
| | | | ||
Строка 34: | Строка 37: | ||
|- | |- | ||
|[[#cond_x|cond_1]] | |[[#cond_x|cond_1]] | ||
- | | | + | |tinyint(3) |
+ | |unsigned | ||
|NO | |NO | ||
| | | | ||
Строка 41: | Строка 45: | ||
|- | |- | ||
|[[#cond_x_val_x|cond_1_val_1]] | |[[#cond_x_val_x|cond_1_val_1]] | ||
- | | | + | |mediumint(8) |
+ | |unsigned | ||
|NO | |NO | ||
| | | | ||
Строка 48: | Строка 53: | ||
|- | |- | ||
|[[#cond_x_val_x|cond_1_val_2]] | |[[#cond_x_val_x|cond_1_val_2]] | ||
- | | | + | |mediumint(8) |
+ | |unsigned | ||
|NO | |NO | ||
| | | | ||
Строка 55: | Строка 61: | ||
|- | |- | ||
|[[#cond_x|cond_2]] | |[[#cond_x|cond_2]] | ||
- | | | + | |tinyint(3) |
+ | |UNSIGNED | ||
|NO | |NO | ||
| | | | ||
Строка 62: | Строка 69: | ||
|- | |- | ||
|[[#cond_x_val_x|cond_2_val_1]] | |[[#cond_x_val_x|cond_2_val_1]] | ||
- | | | + | |mediumint(8) |
+ | |unsigned | ||
|NO | |NO | ||
| | | | ||
Строка 69: | Строка 77: | ||
|- | |- | ||
|[[#cond_x_val_x|cond_2_val_2]] | |[[#cond_x_val_x|cond_2_val_2]] | ||
- | | | + | |mediumint(8) |
+ | |unsigned | ||
|NO | |NO | ||
| | | | ||
Строка 76: | Строка 85: | ||
|- | |- | ||
|[[#cond_x|cond_3]] | |[[#cond_x|cond_3]] | ||
- | | | + | |tinyint(3) |
+ | |unsigned | ||
|NO | |NO | ||
| | | | ||
Строка 83: | Строка 93: | ||
|- | |- | ||
|[[#cond_x_val_x|cond_3_val_1]] | |[[#cond_x_val_x|cond_3_val_1]] | ||
- | | | + | |mediumint(8) |
+ | |unsigned | ||
|NO | |NO | ||
| | | | ||
Строка 90: | Строка 101: | ||
|- | |- | ||
|[[#cond_x_val_x|cond_3_val_2]] | |[[#cond_x_val_x|cond_3_val_2]] | ||
- | | | + | |mediumint(8) |
+ | |unsigned | ||
|NO | |NO | ||
| | | |
Версия 16:59, 17 августа 2010
|
К описанию таблиц базы данных mangos.
Таблица `gossip_menu`
Эта таблица используется для описания опций gossip меню.
Структура
Field | Type | Attributes | Null | Key | Default | Comments |
entry | smallint(6) | unsigned | NO | PRI | 0 | |
text_id | mediumint(8) | unsigned | NO | 0 | ||
cond_1 | tinyint(3) | unsigned | NO | 0 | ||
cond_1_val_1 | mediumint(8) | unsigned | NO | 0 | ||
cond_1_val_2 | mediumint(8) | unsigned | NO | 0 | ||
cond_2 | tinyint(3) | UNSIGNED | NO | 0 | ||
cond_2_val_1 | mediumint(8) | unsigned | NO | 0 | ||
cond_2_val_2 | mediumint(8) | unsigned | NO | 0 | ||
cond_3 | tinyint(3) | unsigned | NO | 0 | ||
cond_3_val_1 | mediumint(8) | unsigned | NO | 0 | ||
cond_3_val_2 | mediumint(8) | unsigned | NO | 0 |
Описание полей
entry
ID меню.
text_id
ID текста меню. См. npc_text.ID
cond_x
cond_x_val_x
cond_x_val_x
Условия для отображения меню. См. Condition.condition