From 2aff5260eada5a9a03a56ebce91f775105d7c92b Mon Sep 17 00:00:00 2001 From: megamage Date: Thu, 5 Feb 2009 15:38:24 -0600 Subject: *Allow scripts to override SQL and DBC data. --HG-- branch : trunk --- src/game/ObjectMgr.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/game/ObjectMgr.cpp') diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp index e62e7af0617..08fcc059b8b 100644 --- a/src/game/ObjectMgr.cpp +++ b/src/game/ObjectMgr.cpp @@ -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() { -- cgit v1.2.3