Gossip menu option
Материал из YTDB DataBase
(Различия между версиями)
NeatElves (Обсуждение | вклад) |
NeatElves (Обсуждение | вклад) |
||
Строка 21: | Строка 21: | ||
|- | |- | ||
|[[#menu_id|menu_id]] | |[[#menu_id|menu_id]] | ||
- | | | + | |smallint(6) |
|unsigned | |unsigned | ||
|NO | |NO | ||
Строка 29: | Строка 29: | ||
|- | |- | ||
|[[#id|id]] | |[[#id|id]] | ||
- | | | + | |smallint(6)) |
|unsigned | |unsigned | ||
|NO | |NO | ||
Строка 37: | Строка 37: | ||
|- | |- | ||
|[[#option_icon|option_icon]] | |[[#option_icon|option_icon]] | ||
- | | | + | |mediumint(8) |
|unsigned | |unsigned | ||
|NO | |NO | ||
Строка 45: | Строка 45: | ||
|- | |- | ||
|[[#option_text|option_text]] | |[[#option_text|option_text]] | ||
- | | | + | |text |
+ | | | ||
| | | | ||
- | |||
| | | | ||
| | | | ||
Строка 69: | Строка 69: | ||
|- | |- | ||
|[[#action_menu_id|action_menu_id]] | |[[#action_menu_id|action_menu_id]] | ||
- | | | + | |mediumint(8) |
|unsigned | |unsigned | ||
|NO | |NO | ||
Строка 77: | Строка 77: | ||
|- | |- | ||
|[[#action_poi_id|action_poi_id]] | |[[#action_poi_id|action_poi_id]] | ||
- | | | + | |mediumint(8) |
|unsigned | |unsigned | ||
|NO | |NO | ||
Строка 85: | Строка 85: | ||
|- | |- | ||
|[[#action_script_id|action_script_id]] | |[[#action_script_id|action_script_id]] | ||
- | | | + | |mediumint(8) |
|unsigned | |unsigned | ||
|NO | |NO | ||
Строка 109: | Строка 109: | ||
|- | |- | ||
|[[#box_text|box_text]] | |[[#box_text|box_text]] | ||
- | | | + | |text |
+ | | | ||
| | | | ||
- | |||
| | | | ||
| | | | ||
Строка 125: | Строка 125: | ||
|- | |- | ||
|[[#cond_x_val_x|cond_1_val_1]] | |[[#cond_x_val_x|cond_1_val_1]] | ||
- | | | + | |mediumint(8) |
|unsigned | |unsigned | ||
|NO | |NO | ||
Строка 133: | Строка 133: | ||
|- | |- | ||
|[[#cond_x_val_x|cond_1_val_2]] | |[[#cond_x_val_x|cond_1_val_2]] | ||
- | | | + | |mediumint(8) |
|unsigned | |unsigned | ||
|NO | |NO | ||
Строка 149: | Строка 149: | ||
|- | |- | ||
|[[#cond_x_val_x|cond_2_val_1]] | |[[#cond_x_val_x|cond_2_val_1]] | ||
- | | | + | |mediumint(8) |
|unsigned | |unsigned | ||
|NO | |NO | ||
Строка 157: | Строка 157: | ||
|- | |- | ||
|[[#cond_x_val_x|cond_2_val_2]] | |[[#cond_x_val_x|cond_2_val_2]] | ||
- | | | + | |mediumint(8) |
|unsigned | |unsigned | ||
|NO | |NO | ||
Строка 173: | Строка 173: | ||
|- | |- | ||
|[[#cond_x_val_x|cond_3_val_1]] | |[[#cond_x_val_x|cond_3_val_1]] | ||
- | | | + | |mediumint(8) |
|unsigned | |unsigned | ||
|NO | |NO | ||
Строка 181: | Строка 181: | ||
|- | |- | ||
|[[#cond_x_val_x|cond_3_val_2]] | |[[#cond_x_val_x|cond_3_val_2]] | ||
- | | | + | |mediumint(8) |
|unsigned | |unsigned | ||
|NO | |NO |
Версия 18:11, 17 августа 2010
|
К описанию таблиц базы данных mangos.
Таблица `gossip_menu_option`
Эта таблица используется для описания опций gossip меню.
Структура
Field | Type | Attributes | Null | Key | Default | Comments |
menu_id | smallint(6) | unsigned | NO | PRI | 0 | |
id | smallint(6)) | unsigned | NO | PRI | 0 | |
option_icon | mediumint(8) | unsigned | NO | 0 | ||
option_text | text | |||||
option_id | TINYINT(3) | unsigned | NO | 0 | ||
npc_option_npcflag | INT(10) | unsigned | NO | 0 | ||
action_menu_id | mediumint(8) | unsigned | NO | 0 | ||
action_poi_id | mediumint(8) | unsigned | NO | 0 | ||
action_script_id | mediumint(8) | unsigned | NO | 0 | ||
box_coded | TINYINT(3) | unsigned | NO | 0 | ||
box_money | INT(11) | unsigned | NO | 0 | ||
box_text | text | |||||
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 |
Описание полей
menu_id
ID меню из gossip_menu.entry
id
option_icon
option_text
option_id
npc_option_npcflag
action_menu_id
Меню, которое будет вызвано при клике на данный пункт меню См. gossip_menu.entry
action_poi_id
action_script_id
Идентификатор Gossip-скрипта. См gossip_scripts.id Скрипт будет вызван при клике на данный пункт меню.
box_coded
box_money
box_text
cond_1-3
cond_x_val_x
Условия для срабатывания опций меню. См. Condition.condition