![]() |
TrinityCore
|
#include <GridDefines.h>
Public Member Functions | |
| CoordPair (uint32 x=0, uint32 y=0) | |
| CoordPair (const CoordPair< LIMIT > &obj) | |
| CoordPair< LIMIT > & | operator= (const CoordPair< LIMIT > &obj) |
| void | dec_x (uint32 val) |
| void | inc_x (uint32 val) |
| void | dec_y (uint32 val) |
| void | inc_y (uint32 val) |
| bool | IsCoordValid () const |
| CoordPair & | normalize () |
| uint32 | GetId () const |
Public Attributes | |
| uint32 | x_coord |
| uint32 | y_coord |
Friends | |
| bool | operator== (CoordPair const &p1, CoordPair const &p2)=default |
Definition at line 92 of file GridDefines.h.
|
inline |
Definition at line 94 of file GridDefines.h.
|
inline |
Definition at line 98 of file GridDefines.h.
Definition at line 109 of file GridDefines.h.
Referenced by Map::ActiveObjectsNearGrid().
Definition at line 125 of file GridDefines.h.
Referenced by Map::ActiveObjectsNearGrid().
Definition at line 153 of file GridDefines.h.
Referenced by Map::AddCorpse(), ObjectMgr::AddCreatureToGrid(), ObjectMgr::AddGameobjectToGrid(), misc_commandscript::HandleRespawnCommand(), Map::LoadRespawnTimes(), Map::RemoveCorpse(), ObjectMgr::RemoveCreatureFromGrid(), ObjectMgr::RemoveGameobjectFromGrid(), ObjectWorldLoader::Visit(), ObjectGridLoader::Visit(), and ObjectGridLoader::Visit().
Definition at line 117 of file GridDefines.h.
Referenced by Map::ActiveObjectsNearGrid().
Definition at line 133 of file GridDefines.h.
Referenced by Map::ActiveObjectsNearGrid().
Definition at line 141 of file GridDefines.h.
Referenced by Map::AddPlayerToMap(), Map::AddToMap(), Map::AddToMap(), Map::SwitchGridContainers(), Map::SwitchGridContainers(), and Cell::Visit().
Definition at line 146 of file GridDefines.h.
Referenced by Cell::CalculateCellArea().
|
inline |
Definition at line 102 of file GridDefines.h.
References CoordPair< LIMIT >::x_coord, and CoordPair< LIMIT >::y_coord.
|
friend |
Definition at line 160 of file GridDefines.h.
Referenced by Map::ActiveObjectsNearGrid(), MapInstanced::AddGridMapReference(), Map::AddPlayerToMap(), Map::AddToActive(), Map::AddToMap(), Map::AddToMap(), Cell::Cell(), Map::EnsureGridCreated_i(), MapManager::ExistMapAndVMap(), GridMap::getMinHeight(), Map::GetUnloadLock(), misc_commandscript::HandleGPSCommand(), Map::IsGridLoaded(), Map::IsRemovalGrid(), CoordPair< LIMIT >::operator=(), Map::ProcessRelocationNotifies(), Map::RemoveFromActive(), MapInstanced::RemoveGridMapReference(), Map::SetUnloadLock(), Map::SetUnloadReferenceLock(), Map::SwitchGridContainers(), Map::SwitchGridContainers(), Cell::Visit(), Cell::VisitCircle(), and Map::VisitNearbyCellsOf().
Definition at line 161 of file GridDefines.h.
Referenced by Map::ActiveObjectsNearGrid(), MapInstanced::AddGridMapReference(), Map::AddPlayerToMap(), Map::AddToActive(), Map::AddToMap(), Map::AddToMap(), Cell::Cell(), Map::EnsureGridCreated_i(), MapManager::ExistMapAndVMap(), GridMap::getMinHeight(), Map::GetUnloadLock(), misc_commandscript::HandleGPSCommand(), Map::IsGridLoaded(), Map::IsRemovalGrid(), CoordPair< LIMIT >::operator=(), Map::ProcessRelocationNotifies(), Map::RemoveFromActive(), MapInstanced::RemoveGridMapReference(), Map::SetUnloadLock(), Map::SetUnloadReferenceLock(), Map::SwitchGridContainers(), Map::SwitchGridContainers(), Cell::Visit(), Cell::VisitCircle(), and Map::VisitNearbyCellsOf().