[8548] implement db supported battleground eventindexes

those eventindexes will then be used by the battleground-code to decide
which creature belongs to which objective
for example all creatures in alteracvalley which are standing around a tower
will belong to one eventindex then.. the eventindex will be defined through the code
and must be proper documented for db-devs
This commit is contained in:
balrok 2009-04-03 12:21:05 +02:00 committed by balrok
parent 3cf92b8507
commit 538c5c257e
11 changed files with 132 additions and 2 deletions

View file

@ -641,6 +641,7 @@ void GameObject::DeleteFromDB()
objmgr.DeleteGOData(m_DBTableGuid);
WorldDatabase.PExecuteLog("DELETE FROM gameobject WHERE guid = '%u'", m_DBTableGuid);
WorldDatabase.PExecuteLog("DELETE FROM game_event_gameobject WHERE guid = '%u'", m_DBTableGuid);
WorldDatabase.PExecuteLog("DELETE FROM gameobject_battleground WHERE guid = '%u'", m_DBTableGuid);
}
GameObjectInfo const *GameObject::GetGOInfo() const