Game event
Материал из YTDB DataBase
KiriX (Обсуждение | вклад) (Новая страница: «{| align="right" | __TOC__ |} Back to world database list of tables. <big>'''The `game_event` table'''</big> This table is contains definition…») |
Lightunit (Обсуждение | вклад) (Перевел) |
||
Строка 2: | Строка 2: | ||
| __TOC__ | | __TOC__ | ||
|} | |} | ||
- | + | Назад к списку таблиц [[mangosdb_struct|world database]]. | |
- | <big>''' | + | <big>'''Таблица `game_event`'''</big> |
- | + | Эта таблица, содержит определения для всех событий игры, которые активиуются или дезактивируются автоматически Системой Событий Игры в ядре. | |
- | <big>''' | + | <big>'''Структура'''</big> |
{| border="1" | {| border="1" | ||
|'''Field''' | |'''Field''' | ||
Строка 69: | Строка 69: | ||
- | <big>''' | + | <big>'''Описание полей'''</big> |
====entry==== | ====entry==== | ||
Entry of the event. Keep it as low as possible and prevent making holes in the list. Higher the max id is, the more memory will be used to store the event data. | Entry of the event. Keep it as low as possible and prevent making holes in the list. Higher the max id is, the more memory will be used to store the event data. |
Версия 04:27, 4 марта 2010
|
Назад к списку таблиц world database.
Таблица `game_event`
Эта таблица, содержит определения для всех событий игры, которые активиуются или дезактивируются автоматически Системой Событий Игры в ядре.
Структура
Field | Type | Null | Key | Default | Extra |
entry | mediumint(8) unsigned | NO | PRI | ||
start_time | timestamp | NO | 0000-00-00 00:00:00 | ||
end_time | timestamp | NO | 0000-00-00 00:00:00 | ||
occurence | bigint(20) unsigned | NO | 5184000 | ||
length | bigint(20) unsigned | NO | 2592000 | ||
holiday | mediumint(8) unsigned | NO | 0 | ||
description | varchar(255) | YES | None |
Описание полей
entry
Entry of the event. Keep it as low as possible and prevent making holes in the list. Higher the max id is, the more memory will be used to store the event data.
start_time
Absolute start date of the event. The event will start occurring only if the local time at the server is after the one set here.
end_time
Absolute end date of the event. The event will stop occurring if the local time at the server is after the one set here.
occurence
Number of minutes between 2 occurrences of the event. (2880 = 2 days, 1440 = 1 day, etc)
length
Number of minutes the event will last after the start of the occurrence. (2880 = 2 days, 1440 = 1 day, etc) This value must be lower than occurrence one or the event will never stop.
holiday
Client side holiday id from Holiday.dbc.
description
String containing the name of the event displayed in console each time it starts or stops.