mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
Core/Scenes: Implemented spell created SceneObjects
This commit is contained in:
@@ -3823,6 +3823,7 @@ template TC_GAME_API bool Map::AddToMap(Creature*);
|
||||
template TC_GAME_API bool Map::AddToMap(GameObject*);
|
||||
template TC_GAME_API bool Map::AddToMap(DynamicObject*);
|
||||
template TC_GAME_API bool Map::AddToMap(AreaTrigger*);
|
||||
template TC_GAME_API bool Map::AddToMap(SceneObject*);
|
||||
template TC_GAME_API bool Map::AddToMap(Conversation*);
|
||||
|
||||
template TC_GAME_API void Map::RemoveFromMap(Corpse*, bool);
|
||||
@@ -3830,6 +3831,7 @@ template TC_GAME_API void Map::RemoveFromMap(Creature*, bool);
|
||||
template TC_GAME_API void Map::RemoveFromMap(GameObject*, bool);
|
||||
template TC_GAME_API void Map::RemoveFromMap(DynamicObject*, bool);
|
||||
template TC_GAME_API void Map::RemoveFromMap(AreaTrigger*, bool);
|
||||
template TC_GAME_API void Map::RemoveFromMap(SceneObject*, bool);
|
||||
template TC_GAME_API void Map::RemoveFromMap(Conversation*, bool);
|
||||
|
||||
/* ******* Dungeon Instance Maps ******* */
|
||||
@@ -4421,6 +4423,11 @@ AreaTrigger* Map::GetAreaTrigger(ObjectGuid const& guid)
|
||||
return _objectsStore.Find<AreaTrigger>(guid);
|
||||
}
|
||||
|
||||
SceneObject* Map::GetSceneObject(ObjectGuid const& guid)
|
||||
{
|
||||
return _objectsStore.Find<SceneObject>(guid);
|
||||
}
|
||||
|
||||
Conversation* Map::GetConversation(ObjectGuid const& guid)
|
||||
{
|
||||
return _objectsStore.Find<Conversation>(guid);
|
||||
|
||||
Reference in New Issue
Block a user