mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[7295] Make more static world data accessable for scripts use.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
1fa4ecf482
commit
0be9e35b7b
5 changed files with 22 additions and 4 deletions
|
|
@ -7364,3 +7364,13 @@ ObjectMgr::ScriptNameMap & GetScriptNames()
|
|||
{
|
||||
return objmgr.GetScriptNames();
|
||||
}
|
||||
|
||||
CreatureInfo const* GetCreatureTemplateStore(uint32 entry)
|
||||
{
|
||||
return sCreatureStorage.LookupEntry<CreatureInfo>(entry);
|
||||
}
|
||||
|
||||
Quest const* GetQuestTemplateStore(uint32 entry)
|
||||
{
|
||||
return objmgr.GetQuestTemplate(entry);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue