* Add support to save and load worldstates.

will be mainly used by outdoorPvP system
* Update next arena auto distribute points time to custom worldstate

--HG--
branch : trunk
This commit is contained in:
Spp
2010-03-26 16:48:33 +01:00
parent afbb5f2e3c
commit cd372966af
6 changed files with 83 additions and 35 deletions
+1
View File
@@ -36,6 +36,7 @@ typedef UNORDERED_MAP<uint32, BattleGroundTypeId> BattleMastersMap;
#define BATTLEGROUND_ARENA_POINT_DISTRIBUTION_DAY 86400 // seconds in a day
#define COUNT_OF_PLAYERS_TO_AVERAGE_WAIT_TIME 10
#define WS_ARENA_DISTRIBUTION_TIME 20001 // Custom worldstate
struct GroupQueueInfo; // type predefinition
struct PlayerQueueInfo // stores information for players in queue