![]() |
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, and CoordPair< LIMIT >::y_coord.
Referenced by Map::AddCorpse(), ObjectMgr::AddCreatureToGrid(), ObjectMgr::AddGameobjectToGrid(), Map::RemoveCorpse(), ObjectMgr::RemoveCreatureFromGrid(), ObjectMgr::RemoveGameobjectFromGrid(), ObjectWorldLoader::Visit(), and ObjectGridLoader::Visit().
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::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(), Cell::Cell(), CoordPair< LIMIT >::dec_x(), Map::EnsureGridCreated(), Map::EnsureGridCreated_i(), MapMgr::ExistMapAndVMap(), CoordPair< LIMIT >::GetId(), misc_commandscript::HandleGPSCommand(), CoordPair< LIMIT >::inc_x(), CoordPair< LIMIT >::IsCoordValid(), Map::IsGridLoaded(), Map::IsRemovalGrid(), CoordPair< LIMIT >::normalize(), CoordPair< LIMIT >::operator=(), operator==(), Map::SwitchGridContainers(), Cell::Visit(), Cell::VisitCircle(), Map::VisitNearbyCellsOf(), and Map::VisitNearbyCellsOfPlayer().
Referenced by Map::AddPlayerToMap(), Map::AddToMap(), Cell::Cell(), CoordPair< LIMIT >::dec_y(), Map::EnsureGridCreated(), Map::EnsureGridCreated_i(), MapMgr::ExistMapAndVMap(), CoordPair< LIMIT >::GetId(), misc_commandscript::HandleGPSCommand(), CoordPair< LIMIT >::inc_y(), CoordPair< LIMIT >::IsCoordValid(), Map::IsGridLoaded(), Map::IsRemovalGrid(), CoordPair< LIMIT >::normalize(), CoordPair< LIMIT >::operator=(), operator==(), Map::SwitchGridContainers(), Cell::Visit(), Cell::VisitCircle(), Map::VisitNearbyCellsOf(), and Map::VisitNearbyCellsOfPlayer().