From 417c7c83196aba0c4afdefd75c3edaba91337a88 Mon Sep 17 00:00:00 2001 From: megamage Date: Fri, 6 Mar 2009 19:36:47 -0600 Subject: [7393] Implement access to client side holiday ids. Author: VladimirMangos * src/game/GameEvent.* renamed to src/game/GameEventMgr.* for consistence * `game_event` now have new `holiday` field for store client side holiday id associated with game event * Added new enum HolidayIds with existed at this moment holiday ids. * New function "bool IsHolidayActive(HolidayIds id)" added accessabel from scripts for active holidays check. --HG-- branch : trunk --- sql/updates/7393_01_mangos_game_event.sql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 sql/updates/7393_01_mangos_game_event.sql (limited to 'sql/updates') diff --git a/sql/updates/7393_01_mangos_game_event.sql b/sql/updates/7393_01_mangos_game_event.sql new file mode 100644 index 00000000000..24e576462ed --- /dev/null +++ b/sql/updates/7393_01_mangos_game_event.sql @@ -0,0 +1,4 @@ +ALTER TABLE db_version CHANGE COLUMN required_7390_01_mangos_areatrigger_teleport required_7393_01_mangos_game_event bit; + +ALTER TABLE game_event + ADD COLUMN holiday mediumint(8) unsigned NOT NULL default '0' COMMENT 'Client side holiday id' AFTER length; -- cgit v1.2.3