6#ifndef SKYFIRE_OBJECTACCESSOR_H
7#define SKYFIRE_OBJECTACCESSOR_H
108 if (obj->GetMap() == map)
195#define sObjectAccessor Skyfire::Singleton<ObjectAccessor, Skyfire::NullMutex>::instance()
CoordPair< MAX_NUMBER_OF_GRIDS > GridCoord
Grid< Player, AllWorldObjectTypes, AllGridObjectTypes > GridType
bool IS_PET_GUID(uint64 guid)
bool IS_PLAYER_GUID(uint64 guid)
static SF_SHARED_MUTEX * GetLock()
static T * Find(uint64 guid)
static MapType m_objectMap
static MapType & GetContainer()
UNORDERED_MAP< uint64, T * > MapType
static SF_SHARED_MUTEX i_lock
static Creature * GetCreature(WorldObject const &u, uint64 guid)
static AreaTrigger * GetAreaTrigger(WorldObject const &u, uint64 guid)
static HashMapHolder< GameObject >::MapType const & GetGameObjects()
static void SaveAllPlayers()
SF_SHARED_MUTEX i_objectLock
static Pet * FindPet(uint64)
static Creature * GetCreatureOrPetOrVehicle(WorldObject const &, uint64)
static Player * FindPlayerByName(std::string const &name)
static void AddObject(T *object)
void AddCorpse(Corpse *corpse)
static Unit * GetObjectInWorld(uint64 guid, Unit *)
static T * GetObjectInMap(uint64 guid, Map *map, T *)
static Object * GetObjectByTypeMask(WorldObject const &, uint64, uint32 typemask)
static Unit * GetObjectInOrOutOfWorld(uint64 guid, Unit *)
static Transport * GetTransport(WorldObject const &u, uint64 guid)
static Player * FindPlayerInOrOutOfWorld(uint64)
void RemoveCorpse(Corpse *corpse)
UNORDERED_MAP< Player *, UpdateData >::value_type UpdateDataValueType
static Player * GetPlayer(WorldObject const &, uint64 guid)
void AddUpdateObject(Object *obj)
SF_SHARED_MUTEX i_corpseLock
void RemoveUpdateObject(Object *obj)
static WorldObject * GetWorldObject(WorldObject const &, uint64)
static GameObject * GetGameObject(WorldObject const &u, uint64 guid)
static Unit * GetUnit(WorldObject const &, uint64 guid)
static HashMapHolder< Player >::MapType const & GetPlayers()
std::set< Object * > i_objects
static Corpse * GetCorpse(WorldObject const &u, uint64 guid)
static T * GetObjectInWorld(uint64 guid, T *)
UNORDERED_MAP< uint64, Corpse * > Player2CorpsesMapType
Corpse * ConvertCorpseForPlayer(uint64 player_guid, bool insignia=false)
Player2CorpsesMapType i_player2corpse
void AddCorpsesToGrid(GridCoord const &gridpair, GridType &grid, Map *map)
static HashMapHolder< Creature >::MapType const & GetCreatures()
static Player * FindPlayer(uint64)
static DynamicObject * GetDynamicObject(WorldObject const &u, uint64 guid)
static void RemoveObject(T *object)
static Unit * FindUnit(uint64)
Corpse * GetCorpseForPlayerGUID(uint64 guid)
static Pet * GetPet(WorldObject const &, uint64 guid)
static T * GetObjectInOrOutOfWorld(uint64 guid, T *)
Heartbeat thread for the World.