mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[7040] Move achievment rewards dat to new DB table. Implement sending item rewards by mail.
Support localization string fields for new table. Move achievments related code and data from ObjectMgr to new AcievmentGlobalMgr.
This commit is contained in:
parent
7bae367084
commit
dc19fc4ca3
9 changed files with 455 additions and 167 deletions
|
|
@ -35,6 +35,7 @@
|
|||
#include "SkillDiscovery.h"
|
||||
#include "World.h"
|
||||
#include "AccountMgr.h"
|
||||
#include "AchievementMgr.h"
|
||||
#include "ObjectMgr.h"
|
||||
#include "SpellMgr.h"
|
||||
#include "Chat.h"
|
||||
|
|
@ -1072,12 +1073,6 @@ void World::SetInitialWorldSettings()
|
|||
sLog.outString( "Loading InstanceTemplate" );
|
||||
objmgr.LoadInstanceTemplate();
|
||||
|
||||
sLog.outString( "Loading AchievementCriteriaList..." );
|
||||
objmgr.LoadAchievementCriteriaList();
|
||||
|
||||
sLog.outString( "Loading completed achievements..." );
|
||||
objmgr.LoadCompletedAchievements();
|
||||
|
||||
sLog.outString( "Loading SkillLineAbilityMultiMap Data..." );
|
||||
spellmgr.LoadSkillLineAbilityMap();
|
||||
|
||||
|
|
@ -1236,6 +1231,18 @@ void World::SetInitialWorldSettings()
|
|||
sLog.outString( "Loading Skill Fishing base level requirements..." );
|
||||
objmgr.LoadFishingBaseSkillLevel();
|
||||
|
||||
sLog.outString( "Loading AchievementCriteriaList..." );
|
||||
achievementmgr.LoadAchievementCriteriaList();
|
||||
|
||||
sLog.outString( "Loading achievement rewards..." );
|
||||
achievementmgr.LoadRewards();
|
||||
|
||||
sLog.outString( "Loading achievement reward locale strings..." );
|
||||
achievementmgr.LoadRewardLocales();
|
||||
|
||||
sLog.outString( "Loading completed achievements..." );
|
||||
achievementmgr.LoadCompletedAchievements();
|
||||
|
||||
///- Load dynamic data tables from the database
|
||||
sLog.outString( "Loading Auctions..." );
|
||||
objmgr.LoadAuctionItems();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue