[7292] Implement storage for points of interest data in DB.
It can be in current state used for simplify scripting code that set POI and more advansed way later..
Call void PlayerMenu::SendPointOfInterest( float X, float Y, uint32 Icon, uint32 Flags, uint32 Data, char const * locName )
will removed after some time delay, and only void PlayerMenu::SendPointOfInterest( uint32 poi_id ) will exist.
Author: GriffonHeart
--HG--
branch : trunk
This commit is contained in:
1 parent
68cfb7c5a4
commit
a24928be67
13 files changed
+298
-16
No files matched your search
@@ -1131,6 +1131,7 @@ void World::SetInitialWorldSettings()
|
||||
objmgr.LoadNpcTextLocales();
|
||||
objmgr.LoadPageTextLocales();
|
||||
objmgr.LoadNpcOptionLocales();
|
||||
objmgr.LoadPointOfInterestLocales();
|
||||
objmgr.SetDBCLocaleIndex(GetDefaultDbcLocale()); // Get once for all the locale index of DBC language (console/broadcasts)
|
||||
sLog.outString( ">>> Localization strings loaded" );
|
||||
sLog.outString();
|
||||
@@ -1195,6 +1196,9 @@ void World::SetInitialWorldSettings()
|
||||
sLog.outString( "Loading Creature Reputation OnKill Data..." );
|
||||
objmgr.LoadReputationOnKill();
|
||||
|
||||
sLog.outString( "Loading Points Of Interest Data..." );
|
||||
objmgr.LoadPointsOfInterest();
|
||||
|
||||
sLog.outString( "Loading Pet Create Spells..." );
|
||||
objmgr.LoadPetCreateSpells();
|
||||
|
||||
|
||||
Reference in new issue
Block a user