mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[9915] Clarify game_event field values and fix typos.
Thanks to BrightStone for pointing to ;)
This commit is contained in:
parent
628f11e1a7
commit
ce761f4925
3 changed files with 5 additions and 5 deletions
|
|
@ -1547,8 +1547,8 @@ CREATE TABLE `game_event` (
|
||||||
`entry` mediumint(8) unsigned NOT NULL COMMENT 'Entry of the game event',
|
`entry` mediumint(8) unsigned NOT NULL COMMENT 'Entry of the game event',
|
||||||
`start_time` timestamp NOT NULL default '0000-00-00 00:00:00' COMMENT 'Absolute start date, the event will never start before',
|
`start_time` timestamp NOT NULL default '0000-00-00 00:00:00' COMMENT 'Absolute start date, the event will never start before',
|
||||||
`end_time` timestamp NOT NULL default '0000-00-00 00:00:00' COMMENT 'Absolute end date, the event will never start afler',
|
`end_time` timestamp NOT NULL default '0000-00-00 00:00:00' COMMENT 'Absolute end date, the event will never start afler',
|
||||||
`occurence` bigint(20) unsigned NOT NULL default '86400' COMMENT 'Delay in hours between occurences of the event',
|
`occurence` bigint(20) unsigned NOT NULL default '86400' COMMENT 'Delay in minutes between occurences of the event',
|
||||||
`length` bigint(20) unsigned NOT NULL default '43200' COMMENT 'Length in hours of the event',
|
`length` bigint(20) unsigned NOT NULL default '43200' COMMENT 'Length in minutes of the event',
|
||||||
`holiday` mediumint(8) unsigned NOT NULL default '0' COMMENT 'Client side holiday id',
|
`holiday` mediumint(8) unsigned NOT NULL default '0' COMMENT 'Client side holiday id',
|
||||||
`description` varchar(255) default NULL COMMENT 'Description of the event displayed in console',
|
`description` varchar(255) default NULL COMMENT 'Description of the event displayed in console',
|
||||||
PRIMARY KEY (`entry`)
|
PRIMARY KEY (`entry`)
|
||||||
|
|
|
||||||
|
|
@ -34,8 +34,8 @@ struct GameEventData
|
||||||
GameEventData() : start(1),end(0),occurence(0),length(0), holiday_id(HOLIDAY_NONE) {}
|
GameEventData() : start(1),end(0),occurence(0),length(0), holiday_id(HOLIDAY_NONE) {}
|
||||||
time_t start;
|
time_t start;
|
||||||
time_t end;
|
time_t end;
|
||||||
uint32 occurence;
|
uint32 occurence; // Delay in minutes between occurences of the event
|
||||||
uint32 length;
|
uint32 length; // Length in minutes of the event
|
||||||
HolidayIds holiday_id;
|
HolidayIds holiday_id;
|
||||||
std::string description;
|
std::string description;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9914"
|
#define REVISION_NR "9915"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue