Instance template
Материал из YTDB DataBase
(Различия между версиями)
NeatElves (Обсуждение | вклад) |
NeatElves (Обсуждение | вклад) |
||
Строка 20: | Строка 20: | ||
|- | |- | ||
|[[#map|map]] | |[[#map|map]] | ||
- | | | + | |smallint(5) unsigned |
|NO | |NO | ||
|PRI | |PRI | ||
Строка 27: | Строка 27: | ||
|- | |- | ||
|[[#parent|parent]] | |[[#parent|parent]] | ||
- | | | + | |smallint(5) unsigned |
|NO | |NO | ||
| | | | ||
Строка 34: | Строка 34: | ||
|- | |- | ||
|[[#levelMin|levelMin]] | |[[#levelMin|levelMin]] | ||
- | | | + | |tinyint(3) unsigned |
|NO | |NO | ||
| | | | ||
Строка 41: | Строка 41: | ||
|- | |- | ||
|[[#levelMax|levelMax]] | |[[#levelMax|levelMax]] | ||
- | | | + | |tinyint(3) unsigned |
|NO | |NO | ||
| | | |
Версия 09:33, 1 мая 2010
|
Back to world database list of tables.
The `instance_template` table
This table has all the templates for every instance. When a group enters an instance, a new copy of that instance is made from the values in these fields.
Structure
Field | Type | Null | Key | Default | Extra |
map | smallint(5) unsigned | NO | PRI | ||
parent | smallint(5) unsigned | NO | |||
levelMin | tinyint(3) unsigned | NO | 0 | ||
levelMax | tinyint(3) unsigned | NO | 0 | ||
script | varchar(255) | NO |
Description of the fields
map
The map ID of the instance. See Map.dbc
parent
If the instance is a subinstance of another instance, this field has the parent instance's map ID.
levelMin
The minimum level required to enter the instance.
levelMax
The maximum level required to be able to be summoned by the meeting stone for this instance.
script
The name of the instance script that the instance will use and apply (if any).