|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <IVMapManager.h>
Public Member Functions | |
| virtual bool | existsMap (const char *pBasePath, unsigned int pMapId, int x, int y)=0 |
| virtual bool | getAreaInfo (unsigned int pMapId, float x, float y, float &z, uint32 &flags, int32 &adtId, int32 &rootId, int32 &groupId) const =0 |
| virtual std::string | getDirFileName (unsigned int pMapId, int x, int y) const =0 |
| virtual float | getHeight (unsigned int pMapId, float x, float y, float z, float maxSearchDist)=0 |
| virtual bool | GetLiquidLevel (uint32 pMapId, float x, float y, float z, uint8 ReqLiquidType, float &level, float &floor, uint32 &type) const =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 |
| bool | isHeightCalcEnabled () const |
| virtual bool | isInLineOfSight (unsigned int pMapId, float x1, float y1, float z1, float x2, float y2, float z2)=0 |
| bool | isLineOfSightCalcEnabled () const |
| bool | isMapLoadingEnabled () const |
| IVMapManager () | |
| virtual int | loadMap (const char *pBasePath, unsigned int pMapId, int x, int y)=0 |
| virtual bool | processCommand (char *pCommand)=0 |
| void | setEnableHeightCalc (bool pVal) |
| void | setEnableLineOfSightCalc (bool pVal) |
| virtual void | unloadMap (unsigned int pMapId)=0 |
| virtual void | unloadMap (unsigned int pMapId, int x, int y)=0 |
| virtual | ~IVMapManager (void) |
Private Attributes | |
| bool | iEnableHeightCalc |
| bool | iEnableLineOfSightCalc |
Definition at line 32 of file IVMapManager.h.
|
inline |
Definition at line 39 of file IVMapManager.h.
References iEnableHeightCalc, and iEnableLineOfSightCalc.
|
inlinevirtual |
Definition at line 41 of file IVMapManager.h.
|
pure virtual |
Implemented in VMAP::VMapManager2.
|
pure virtual |
Query world model area info.
| z | gets adjusted to the ground height for which this are info is valid |
Implemented in VMAP::VMapManager2.
Referenced by Map::GetAreaInfo().
|
pure virtual |
Implemented in VMAP::VMapManager2.
|
pure virtual |
Implemented in VMAP::VMapManager2.
Referenced by Map::GetHeight().
|
pure virtual |
Implemented in VMAP::VMapManager2.
Referenced by Map::getLiquidStatus().
|
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::VMapManager2.
Referenced by WorldObject::MovePositionToFirstCollision().
|
inline |
Definition at line 74 of file IVMapManager.h.
References iEnableHeightCalc.
Referenced by Map::GetHeight(), and VMAP::VMapManager2::getHeight().
|
pure virtual |
Implemented in VMAP::VMapManager2.
Referenced by Map::isInLineOfSight().
|
inline |
Definition at line 73 of file IVMapManager.h.
References iEnableLineOfSightCalc.
Referenced by VMAP::VMapManager2::getObjectHitPos(), and VMAP::VMapManager2::isInLineOfSight().
|
inline |
Definition at line 75 of file IVMapManager.h.
References iEnableHeightCalc, and iEnableLineOfSightCalc.
Referenced by VMAP::VMapManager2::loadMap().
|
pure virtual |
Implemented in VMAP::VMapManager2.
Referenced by Map::LoadVMap(), and MMAP::TerrainBuilder::loadVMap().
|
pure virtual |
send debug commands
Implemented in VMAP::VMapManager2.
Referenced by gm_commandscript::HandleGMCommand().
|
inline |
Enable/disable model height calculation It is enabled by default. If it is enabled in mid game the maps have to loaded manualy
Definition at line 71 of file IVMapManager.h.
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
Definition at line 66 of file IVMapManager.h.
References iEnableLineOfSightCalc.
Referenced by World::LoadConfigSettings().
|
pure virtual |
Implemented in VMAP::VMapManager2.
|
pure virtual |
Implemented in VMAP::VMapManager2.
Referenced by MapInstanced::DestroyInstance(), MMAP::TerrainBuilder::loadVMap(), and Map::UnloadGrid().
|
private |
Definition at line 36 of file IVMapManager.h.
Referenced by isHeightCalcEnabled(), isMapLoadingEnabled(), IVMapManager(), and setEnableHeightCalc().
|
private |
Definition at line 35 of file IVMapManager.h.
Referenced by isLineOfSightCalcEnabled(), isMapLoadingEnabled(), IVMapManager(), and setEnableLineOfSightCalc().