Instance template

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

(Различия между версиями)
Перейти к: навигация, поиск
(startLocO)
 
(14 промежуточных версий не показаны.)
Строка 2: Строка 2:
| __TOC__
| __TOC__
|}
|}
-
Back to [[mangosdb_struct|world database]] list of tables.
+
[[Category: Mangos world database tables]]
 +
К описанию таблиц [[mangosdb_struct|базы данных mangos]].
-
<big>'''The `instance_template` table'''</big>
+
<big>'''Таблица `instance_template`'''</big>
-
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.
+
Таблица шаблонов для всех игровых instance.
-
<big>'''Structure'''</big>
+
<big>'''Структура'''</big>
{| border="1"
{| border="1"
|'''Field'''
|'''Field'''
|'''Type'''
|'''Type'''
 +
|'''Attributes'''
|'''Null'''
|'''Null'''
|'''Key'''
|'''Key'''
|'''Default'''
|'''Default'''
-
|'''Extra'''
+
|'''Comments'''
|-
|-
|[[#map|map]]
|[[#map|map]]
-
|int(10) unsigned
+
|smallint(5)
 +
|unsigned
|NO
|NO
|PRI
|PRI
Строка 27: Строка 30:
|-
|-
|[[#parent|parent]]
|[[#parent|parent]]
-
|int(11) unsigned
+
|smallint(5)
 +
|unsigned
|NO
|NO
|
|
-
|
+
|0
|
|
|-
|-
|[[#levelMin|levelMin]]
|[[#levelMin|levelMin]]
-
|int(10) unsigned
+
|tinyint(3)
 +
|unsigned
|NO
|NO
|
|
Строка 41: Строка 46:
|-
|-
|[[#levelMax|levelMax]]
|[[#levelMax|levelMax]]
-
|int(10) unsigned
+
|tinyint(3)
 +
|unsigned
|NO
|NO
|
|
Строка 47: Строка 53:
|
|
|-
|-
-
|[[#maxPlayers|maxPlayers]]
+
|[[#ScriptName|ScriptName]]
-
|int(10) unsigned
+
|varchar(128)
-
|NO
+
|
|
-
|0
 
-
|
 
-
|-
 
-
|[[#reset_delay|reset_delay]]
 
-
|int(10) unsigned
 
-
|NO
 
-
|
 
-
|0
 
-
|
 
-
|-
 
-
|[[#startLocX|startLocX]]
 
-
|float
 
-
|YES
 
-
|
 
-
|None
 
-
|
 
-
|-
 
-
|[[#startLocY|startLocY]]
 
-
|float
 
-
|YES
 
-
|
 
-
|None
 
-
|
 
-
|-
 
-
|[[#startLocZ|startLocZ]]
 
-
|float
 
-
|YES
 
-
|
 
-
|None
 
-
|
 
-
|-
 
-
|[[#startLocO|startLocO]]
 
-
|float
 
-
|YES
 
-
|
 
-
|None
 
-
|
 
-
|-
 
-
|[[#script|script]]
 
-
|varchar(255)
 
|NO
|NO
|
|
Строка 98: Строка 63:
-
<big>'''Description of the fields'''</big>
+
<big>'''Описание полей'''</big>
====map====
====map====
The map ID of the instance. See Map.dbc
The map ID of the instance. See Map.dbc
Строка 104: Строка 69:
If the instance is a subinstance of another instance, this field has the parent instance's map ID.
If the instance is a subinstance of another instance, this field has the parent instance's map ID.
====levelMin====
====levelMin====
-
The minimum level required to enter the instance.
+
Требуемый минимальный уровень для входа в instance.
====levelMax====
====levelMax====
-
The maximum level required to be able to be summoned by the meeting stone for this instance.
+
Требуемый максимальный уровень для призыва через камень встреч.
-
====maxPlayers====
+
====ScriptName====
-
The maximum number of players that can enter as a group/raid in the instance.
+
Имя скрипта, если instance заскриптован.
-
====reset_delay====
+
-
The number of days between each global reset for the map. If zero, the value is taken from DBC files. The resulting value is multiplied by the Rate.InstanceResetTime config.
+
-
 
+
-
====startLocX====
+
-
Defines the starting X location where players will be ported (if different from default).
+
-
====startLocY====
+
-
Defines the starting Y location where players will be ported (if different from default).
+
-
====startLocZ====
+
-
Defines the starting Z location where players will be ported (if different from default).
+
-
====script====
+
-
The name of the instance script that the instance will use and apply (if any).
+

Текущая версия на 17:21, 10 декабря 2010

Содержание

К описанию таблиц базы данных mangos.


Таблица `instance_template`

Таблица шаблонов для всех игровых instance.


Структура

Field Type Attributes Null Key Default Comments
map smallint(5) unsigned NO PRI
parent smallint(5) unsigned NO 0
levelMin tinyint(3) unsigned NO 0
levelMax tinyint(3) unsigned NO 0
ScriptName varchar(128) NO


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

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

Требуемый минимальный уровень для входа в instance.

levelMax

Требуемый максимальный уровень для призыва через камень встреч.

ScriptName

Имя скрипта, если instance заскриптован.

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