![]() |
AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "IVMapMgr.h"
Public Member Functions | |
| IVMapMgr () | |
| virtual | ~IVMapMgr ()=default |
| virtual int | loadMap (const char *pBasePath, unsigned int pMapId, int x, int y)=0 |
| virtual LoadResult | existsMap (const char *pBasePath, unsigned int pMapId, int x, int y)=0 |
| virtual void | unloadMap (unsigned int pMapId, int x, int y)=0 |
| virtual void | unloadMap (unsigned int pMapId)=0 |
| virtual bool | isInLineOfSight (unsigned int pMapId, float x1, float y1, float z1, float x2, float y2, float z2, ModelIgnoreFlags ignoreFlags)=0 |
| virtual float | getHeight (unsigned int pMapId, float x, float y, float z, float maxSearchDist)=0 |
| virtual bool | GetObjectHitPos (unsigned int pMapId, float x1, float y1, float z1, float x2, float y2, float z2, float &rx, float &ry, float &rz, float pModifyDist)=0 |
| virtual bool | processCommand (char *pCommand)=0 |
| void | setEnableLineOfSightCalc (bool pVal) |
| void | setEnableHeightCalc (bool pVal) |
| bool | isLineOfSightCalcEnabled () const |
| bool | isHeightCalcEnabled () const |
| bool | isMapLoadingEnabled () const |
| virtual std::string | getDirFileName (unsigned int pMapId, int x, int y) const =0 |
| virtual bool | GetAreaAndLiquidData (uint32 mapId, float x, float y, float z, Optional< uint8 > reqLiquidType, AreaAndLiquidData &data) const =0 |
Private Attributes | |
| bool | iEnableLineOfSightCalc {true} |
| bool | iEnableHeightCalc {true} |
|
inline |
|
virtualdefault |
|
pure virtual |
Implemented in VMAP::VMapMgr2.
|
pure virtual |
Query world model area info.
| z | gets adjusted to the ground height for which this are info is valid |
Implemented in VMAP::VMapMgr2.
Referenced by Map::GetAreaInfo(), Map::GetFullTerrainStatusForPosition(), and Map::GetLiquidData().
|
pure virtual |
Implemented in VMAP::VMapMgr2.
|
pure virtual |
Implemented in VMAP::VMapMgr2.
Referenced by Map::GetHeight().
|
pure virtual |
test if we hit an object. return true if we hit one. rx, ry, rz will hold the hit position or the dest position, if no intersection was found return a position, that is pReduceDist closer to the origin
Implemented in VMAP::VMapMgr2.
|
inline |
References iEnableHeightCalc.
Referenced by VMAP::VMapMgr2::getHeight(), and server_commandscript::HandleServerDebugCommand().
|
pure virtual |
Implemented in VMAP::VMapMgr2.
|
inline |
References iEnableLineOfSightCalc.
Referenced by VMAP::VMapMgr2::GetObjectHitPos(), server_commandscript::HandleServerDebugCommand(), and VMAP::VMapMgr2::isInLineOfSight().
|
inline |
|
pure virtual |
Implemented in VMAP::VMapMgr2.
Referenced by MMAP::TerrainBuilder::loadVMap().
|
pure virtual |
send debug commands
Implemented in VMAP::VMapMgr2.
|
inline |
Enable/disable model height calculation It is enabled by default. If it is enabled in mid game the maps have to loaded manualy
References iEnableHeightCalc.
Referenced by World::LoadConfigSettings().
|
inline |
Enable/disable LOS calculation It is enabled by default. If it is enabled in mid game the maps have to loaded manualy
References iEnableLineOfSightCalc.
Referenced by World::LoadConfigSettings().
|
pure virtual |
Implemented in VMAP::VMapMgr2.
|
pure virtual |
Implemented in VMAP::VMapMgr2.
Referenced by MMAP::TerrainBuilder::loadVMap().
|
private |
Referenced by isHeightCalcEnabled(), isMapLoadingEnabled(), and setEnableHeightCalc().
|
private |
Referenced by isLineOfSightCalcEnabled(), isMapLoadingEnabled(), and setEnableLineOfSightCalc().