![]() |
AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#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 |
|
inline |
|
inline |
References CoordPair< LIMIT >::x_coord.
References CoordPair< LIMIT >::y_coord.
References CoordPair< LIMIT >::x_coord.
References CoordPair< LIMIT >::y_coord.
References CoordPair< LIMIT >::x_coord, and CoordPair< LIMIT >::y_coord.
Referenced by Map::AddPlayerToMap(), Map::AddToMap(), Map::AddToMap(), Map::LoadGridsInRange(), Map::SwitchGridContainers(), Map::SwitchGridContainers(), and Cell::Visit().
References CoordPair< LIMIT >::x_coord, and CoordPair< LIMIT >::y_coord.
Referenced by Cell::CalculateCellArea().
|
inline |
References CoordPair< LIMIT >::x_coord, and CoordPair< LIMIT >::y_coord.
Referenced by Map::AddPlayerToMap(), Map::AddToMap(), Map::AddToMap(), Cell::Cell(), Cell::Cell(), CoordPair< LIMIT >::dec_x(), Map::EnsureGridCreated(), MapMgr::ExistMapAndVMap(), Map::GetGridTerrainData(), Map::GetGridTerrainDataSharedPtr(), CoordPair< LIMIT >::GetId(), GridTerrainData::getMinHeight(), mmaps_commandscript::HandleMmapLocCommand(), CoordPair< LIMIT >::inc_x(), CoordPair< LIMIT >::IsCoordValid(), Map::IsGridCreated(), Map::IsGridLoaded(), Map::LoadGridsInRange(), CoordPair< LIMIT >::normalize(), CoordPair< LIMIT >::operator=(), operator==(), Map::SwitchGridContainers(), Map::SwitchGridContainers(), Cell::Visit(), Cell::VisitCircle(), Map::VisitNearbyCellsOf(), and Map::VisitNearbyCellsOfPlayer().
Referenced by Map::AddPlayerToMap(), Map::AddToMap(), Map::AddToMap(), Cell::Cell(), Cell::Cell(), CoordPair< LIMIT >::dec_y(), Map::EnsureGridCreated(), MapMgr::ExistMapAndVMap(), Map::GetGridTerrainData(), Map::GetGridTerrainDataSharedPtr(), CoordPair< LIMIT >::GetId(), GridTerrainData::getMinHeight(), mmaps_commandscript::HandleMmapLocCommand(), CoordPair< LIMIT >::inc_y(), CoordPair< LIMIT >::IsCoordValid(), Map::IsGridCreated(), Map::IsGridLoaded(), Map::LoadGridsInRange(), CoordPair< LIMIT >::normalize(), CoordPair< LIMIT >::operator=(), operator==(), Map::SwitchGridContainers(), Map::SwitchGridContainers(), Cell::Visit(), Cell::VisitCircle(), Map::VisitNearbyCellsOf(), and Map::VisitNearbyCellsOfPlayer().