mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
[7295] Make more static world data accessable for scripts use. Author: NoFantasy
--HG-- branch : trunk
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user