mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +00:00
[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. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
946e4fb036
commit
9b2a772413
14 changed files with 302 additions and 16 deletions
|
|
@ -1094,6 +1094,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();
|
||||
|
|
@ -1152,6 +1153,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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue