[7393] Implement access to client side holiday ids.

* 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.
This commit is contained in:
VladimirMangos 2009-03-07 01:34:46 +03:00
parent 4523a47155
commit be74937146
19 changed files with 162 additions and 62 deletions

View file

@ -276,10 +276,10 @@
RelativePath="..\..\src\game\DuelHandler.cpp">
</File>
<File
RelativePath="..\..\src\game\GameEvent.cpp">
RelativePath="..\..\src\game\GameEventMgr.cpp">
</File>
<File
RelativePath="..\..\src\game\GameEvent.h">
RelativePath="..\..\src\game\GameEventMgr.h">
</File>
<File
RelativePath="..\..\src\game\GMTicketHandler.cpp">

View file

@ -539,11 +539,11 @@
>
</File>
<File
RelativePath="..\..\src\game\GameEvent.cpp"
RelativePath="..\..\src\game\GameEventMgr.cpp"
>
</File>
<File
RelativePath="..\..\src\game\GameEvent.h"
RelativePath="..\..\src\game\GameEventMgr.h"
>
</File>
<File

View file

@ -541,11 +541,11 @@
>
</File>
<File
RelativePath="..\..\src\game\GameEvent.cpp"
RelativePath="..\..\src\game\GameEventMgr.cpp"
>
</File>
<File
RelativePath="..\..\src\game\GameEvent.h"
RelativePath="..\..\src\game\GameEventMgr.h"
>
</File>
<File