TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ObjectAccessor.h File Reference
#include <mutex>
#include <set>
#include <unordered_map>
#include <boost/thread/locks.hpp>
#include <boost/thread/shared_mutex.hpp>
#include "Define.h"
#include "GridDefines.h"
#include "UpdateData.h"
#include "Object.h"
+ Include dependency graph for ObjectAccessor.h:

Go to the source code of this file.

Classes

class  HashMapHolder< T >
 

Namespaces

 ObjectAccessor
 

Functions

TC_GAME_API WorldObjectObjectAccessor::GetWorldObject (WorldObject const &, ObjectGuid const &)
 
TC_GAME_API ObjectObjectAccessor::GetObjectByTypeMask (WorldObject const &, ObjectGuid const &, uint32 typemask)
 
TC_GAME_API CorpseObjectAccessor::GetCorpse (WorldObject const &u, ObjectGuid const &guid)
 
TC_GAME_API GameObjectObjectAccessor::GetGameObject (WorldObject const &u, ObjectGuid const &guid)
 
TC_GAME_API TransportObjectAccessor::GetTransport (WorldObject const &u, ObjectGuid const &guid)
 
TC_GAME_API DynamicObjectObjectAccessor::GetDynamicObject (WorldObject const &u, ObjectGuid const &guid)
 
TC_GAME_API AreaTriggerObjectAccessor::GetAreaTrigger (WorldObject const &u, ObjectGuid const &guid)
 
TC_GAME_API UnitObjectAccessor::GetUnit (WorldObject const &, ObjectGuid const &guid)
 
TC_GAME_API CreatureObjectAccessor::GetCreature (WorldObject const &u, ObjectGuid const &guid)
 
TC_GAME_API PetObjectAccessor::GetPet (WorldObject const &, ObjectGuid const &guid)
 
TC_GAME_API Player * ObjectAccessor::GetPlayer (Map const *, ObjectGuid const &guid)
 
TC_GAME_API Player * ObjectAccessor::GetPlayer (WorldObject const &, ObjectGuid const &guid)
 
TC_GAME_API CreatureObjectAccessor::GetCreatureOrPetOrVehicle (WorldObject const &, ObjectGuid const &)
 
TC_GAME_API Player * ObjectAccessor::FindPlayer (ObjectGuid const &)
 
TC_GAME_API Player * ObjectAccessor::FindPlayerByName (std::string const &name)
 
TC_GAME_API Player * ObjectAccessor::FindConnectedPlayer (ObjectGuid const &)
 
TC_GAME_API Player * ObjectAccessor::FindConnectedPlayerByName (std::string const &name)
 
TC_GAME_API HashMapHolder
< Player >::MapType const
ObjectAccessor::GetPlayers ()
 
template<class T >
void ObjectAccessor::AddObject (T *object)
 
template<class T >
void ObjectAccessor::RemoveObject (T *object)
 
TC_GAME_API void ObjectAccessor::SaveAllPlayers ()