AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
VMAP::IVMapMgr Class Referenceabstract

#include "IVMapMgr.h"

Inheritance diagram for VMAP::IVMapMgr:
VMAP::VMapMgr2

Public Member Functions

 IVMapMgr ()
 
virtual ~IVMapMgr ()=default
 
virtual LoadResult existsMap (const char *pBasePath, unsigned int pMapId, int x, int y)=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
 

Private Attributes

bool iEnableLineOfSightCalc {true}
 
bool iEnableHeightCalc {true}
 

Detailed Description

Constructor & Destructor Documentation

◆ IVMapMgr()

VMAP::IVMapMgr::IVMapMgr ( )
inline
89{ }

◆ ~IVMapMgr()

virtual VMAP::IVMapMgr::~IVMapMgr ( )
virtualdefault

Member Function Documentation

◆ existsMap()

virtual LoadResult VMAP::IVMapMgr::existsMap ( const char *  pBasePath,
unsigned int  pMapId,
int  x,
int  y 
)
pure virtual

Implemented in VMAP::VMapMgr2.

◆ getDirFileName()

virtual std::string VMAP::IVMapMgr::getDirFileName ( unsigned int  pMapId,
int  x,
int  y 
) const
pure virtual

Implemented in VMAP::VMapMgr2.

◆ isHeightCalcEnabled()

bool VMAP::IVMapMgr::isHeightCalcEnabled ( ) const
inline
112{ return (iEnableHeightCalc); }
bool iEnableHeightCalc
Definition IVMapMgr.h:86

References iEnableHeightCalc.

Referenced by server_commandscript::HandleServerDebugCommand().

◆ isLineOfSightCalcEnabled()

bool VMAP::IVMapMgr::isLineOfSightCalcEnabled ( ) const
inline
111{ return (iEnableLineOfSightCalc); }
bool iEnableLineOfSightCalc
Definition IVMapMgr.h:85

References iEnableLineOfSightCalc.

Referenced by server_commandscript::HandleServerDebugCommand().

◆ isMapLoadingEnabled()

bool VMAP::IVMapMgr::isMapLoadingEnabled ( ) const
inline

◆ processCommand()

virtual bool VMAP::IVMapMgr::processCommand ( char *  pCommand)
pure virtual

send debug commands

Implemented in VMAP::VMapMgr2.

◆ setEnableHeightCalc()

void VMAP::IVMapMgr::setEnableHeightCalc ( bool  pVal)
inline

Enable/disable model height calculation It is enabled by default. If it is enabled in mid game the maps have to loaded manualy

109{ iEnableHeightCalc = pVal; }

References iEnableHeightCalc.

Referenced by World::LoadConfigSettings().

◆ setEnableLineOfSightCalc()

void VMAP::IVMapMgr::setEnableLineOfSightCalc ( bool  pVal)
inline

Enable/disable LOS calculation It is enabled by default. If it is enabled in mid game the maps have to loaded manualy

104{ iEnableLineOfSightCalc = pVal; }

References iEnableLineOfSightCalc.

Referenced by World::LoadConfigSettings().

Member Data Documentation

◆ iEnableHeightCalc

bool VMAP::IVMapMgr::iEnableHeightCalc {true}
private

◆ iEnableLineOfSightCalc

bool VMAP::IVMapMgr::iEnableLineOfSightCalc {true}
private

The documentation for this class was generated from the following file: