Core/Text: Implemented locales_points_of_interest. (#225)

This commit is contained in:
HeartWell
2016-11-05 19:21:38 +03:00
committed by Shin
parent b8a30dd543
commit b25dbaa96b
3 changed files with 488 additions and 1 deletions

View File

@@ -1074,6 +1074,12 @@ class ObjectMgr
if (itr == _pageTextLocaleStore.end()) return NULL;
return &itr->second;
}
PointOfInterestLocale const* GetPointOfInterestLocale(uint32 poi_id) const
{
PointOfInterestLocaleContainer::const_iterator itr = _pointOfInterestLocaleStore.find(poi_id);
if (itr == _pointOfInterestLocaleStore.end()) return NULL;
return &itr->second;
}
GameObjectData& NewGOData(uint32 guid) { return _gameObjectDataStore[guid]; }
void DeleteGOData(uint32 guid);