[7295] Make more static world data accessable for scripts use. Author: NoFantasy

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-02-18 16:50:21 -06:00
1 parent 966b6a4a8d
commit d0a3d03422
5 files changed
+18 -2

No files matched your search

+9
View File
@@ -7641,3 +7641,12 @@ void ObjectMgr::LoadTransportEvents()
delete result;
}
CreatureInfo const* GetCreatureTemplateStore(uint32 entry)
{
return sCreatureStorage.LookupEntry<CreatureInfo>(entry);
}
Quest const* GetQuestTemplateStore(uint32 entry)
{
return objmgr.GetQuestTemplate(entry);
}