Game event

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

Перейти к: навигация, поиск

Содержание

Назад к списку таблиц 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.

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