Game tele
Материал из YTDB DataBase
(Различия между версиями)
NeatElves (Обсуждение | вклад) |
NeatElves (Обсуждение | вклад) |
||
Строка 5: | Строка 5: | ||
- | <big>''' | + | <big>'''Таблица `game_tele`'''</big> |
This table contains a list of teleport locations that can be used with the .tele command in-game. Entries in this table can be added/deleted manually or with the .addtele/.deltele commands. | This table contains a list of teleport locations that can be used with the .tele command in-game. Entries in this table can be added/deleted manually or with the .addtele/.deltele commands. | ||
- | <big>''' | + | <big>'''Структура'''</big> |
{| border="1" | {| border="1" | ||
|'''Field''' | |'''Field''' | ||
Строка 70: | Строка 70: | ||
- | <big>''' | + | <big>'''Описание полей'''</big> |
====id==== | ====id==== | ||
The ID of the teleport location. This number is unique to every location added. | The ID of the teleport location. This number is unique to every location added. |
Версия 18:38, 29 июля 2010
|
К описанию таблиц базы данных mangos.
Таблица `game_tele`
This table contains a list of teleport locations that can be used with the .tele command in-game. Entries in this table can be added/deleted manually or with the .addtele/.deltele commands.
Структура
Field | Type | Null | Key | Default | Extra |
id | int(10) unsigned | NO | PRI | None | auto_increment |
position_x | float | NO | 0 | ||
position_y | float | NO | 0 | ||
position_z | float | NO | 0 | ||
orientation | float | NO | 0 | ||
map | int(10) unsigned | NO | 0 | ||
name | varchar(100) | NO |
Описание полей
id
The ID of the teleport location. This number is unique to every location added.
position_x
The X position where the location exists.
position_y
The Y position where the location exists.
position_z
The Z position where the location exists.
orientation
The orientation to face after teleport. (North = 0, South = 3.14159)
map
The map ID of the location. See Maps.dbc
name
The name given to the location. The name must not have a space as this will be read in from the .tele command.