AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
MMAP::MMapData Struct Reference

#include "MMapMgr.h"

Public Member Functions

 MMapData (dtNavMesh *mesh)
 
 ~MMapData ()
 

Public Attributes

NavMeshQuerySet navMeshQueries
 
dtNavMesh * navMesh
 
MMapTileSet loadedTileRefs
 

Detailed Description

Constructor & Destructor Documentation

◆ MMapData()

MMAP::MMapData::MMapData ( dtNavMesh *  mesh)
inline
48: navMesh(mesh) { }
dtNavMesh * navMesh
Definition: MMapMgr.h:65

◆ ~MMapData()

MMAP::MMapData::~MMapData ( )
inline
51 {
52 for (auto& navMeshQuerie : navMeshQueries)
53 {
54 dtFreeNavMeshQuery(navMeshQuerie.second);
55 }
56
57 if (navMesh)
58 {
59 dtFreeNavMesh(navMesh);
60 }
61 }
NavMeshQuerySet navMeshQueries
Definition: MMapMgr.h:64

References navMesh, and navMeshQueries.

Member Data Documentation

◆ loadedTileRefs

MMapTileSet MMAP::MMapData::loadedTileRefs

◆ navMesh

dtNavMesh* MMAP::MMapData::navMesh

◆ navMeshQueries