diff options
author | megamage <none@none> | 2009-03-06 19:36:47 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-06 19:36:47 -0600 |
commit | 417c7c83196aba0c4afdefd75c3edaba91337a88 (patch) | |
tree | d60caffa5c8a0094e8cf7e860c9341f14d007a85 /src/shared/Database/DBCfmt.cpp | |
parent | 0d53225fdc2b30f1ced3d840d05da6cfbb9a4059 (diff) |
[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
Diffstat (limited to 'src/shared/Database/DBCfmt.cpp')
-rw-r--r-- | src/shared/Database/DBCfmt.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/Database/DBCfmt.cpp b/src/shared/Database/DBCfmt.cpp index 0420c2b9a85..62a69610ebd 100644 --- a/src/shared/Database/DBCfmt.cpp +++ b/src/shared/Database/DBCfmt.cpp @@ -55,6 +55,7 @@ const char GtOCTRegenHPfmt[]="f"; //const char GtOCTRegenMPfmt[]="f"; const char GtRegenHPPerSptfmt[]="f"; const char GtRegenMPPerSptfmt[]="f"; +const char Holidaysfmt[]="nxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; const char Itemfmt[]="nixiiiii"; //const char ItemDisplayTemplateEntryfmt[]="nxxxxxxxxxxixxxxxxxxxxx"; //const char ItemCondExtCostsEntryfmt[]="xiii"; |