*Allow scripts to override SQL and DBC data.
--HG-- branch : trunk
This commit is contained in:
@@ -7553,6 +7553,16 @@ ObjectMgr::ScriptNameMap & GetScriptNames()
|
||||
return objmgr.GetScriptNames();
|
||||
}
|
||||
|
||||
GameObjectInfo const *GetGameObjectInfo(uint32 id)
|
||||
{
|
||||
return objmgr.GetGameObjectInfo(id);
|
||||
}
|
||||
|
||||
CreatureInfo const *GetCreatureInfo(uint32 id)
|
||||
{
|
||||
return objmgr.GetCreatureTemplate(id);
|
||||
}
|
||||
|
||||
void ObjectMgr::LoadTransportEvents()
|
||||
{
|
||||
|
||||
|
||||
@@ -944,5 +944,7 @@ TRINITY_DLL_SPEC bool LoadTrinityStrings(DatabaseType& db, char const* table,int
|
||||
TRINITY_DLL_SPEC uint32 GetAreaTriggerScriptId(uint32 trigger_id);
|
||||
TRINITY_DLL_SPEC uint32 GetScriptId(const char *name);
|
||||
TRINITY_DLL_SPEC ObjectMgr::ScriptNameMap& GetScriptNames();
|
||||
TRINITY_DLL_SPEC GameObjectInfo const *GetGameObjectInfo(uint32 id);
|
||||
TRINITY_DLL_SPEC CreatureInfo const *GetCreatureInfo(uint32 id);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user