Cache GM tickets on server startup.

This commit is contained in:
hunuza 2008-11-03 21:03:58 +01:00
parent 49307f6a13
commit 843a0d7d02
11 changed files with 435 additions and 260 deletions

View file

@ -56,6 +56,7 @@
#include "CellImpl.h"
#include "InstanceSaveMgr.h"
#include "WaypointManager.h"
#include "GMTicketMgr.h"
#include "Util.h"
INSTANTIATE_SINGLETON_1( World );
@ -1125,6 +1126,9 @@ void World::SetInitialWorldSettings()
sLog.outString( "Loading Waypoints..." );
WaypointMgr.Load();
sLog.outString( "Loading GM tickets...");
ticketmgr.LoadGMTickets();
///- Handle outdated emails (delete/return)
sLog.outString( "Returning old mails..." );
objmgr.ReturnOrDeleteOldMails(false);