AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
MMapMgr.h File Reference
#include "Common.h"
#include "DetourAlloc.h"
#include "DetourExtended.h"
#include "DetourNavMesh.h"
#include <shared_mutex>
#include <unordered_map>
#include <vector>

Go to the source code of this file.

Classes

struct  MMAP::MMapData
 
class  MMAP::MMapMgr
 

Namespaces

namespace  MMAP
 

Typedefs

typedef std::unordered_map< uint32, dtTileRef > MMAP::MMapTileSet
 
typedef std::unordered_map< uint32, dtNavMeshQuery * > MMAP::NavMeshQuerySet
 
typedef std::unordered_map< uint32, MMapData * > MMAP::MMapDataSet
 

Functions

void * dtCustomAlloc (size_t size, dtAllocHint)
 
void dtCustomFree (void *ptr)
 

Function Documentation

◆ dtCustomAlloc()

void * dtCustomAlloc ( size_t  size,
dtAllocHint   
)
inline
31{
32 return (void*)new unsigned char[size];
33}

Referenced by World::SetInitialWorldSettings().

◆ dtCustomFree()

void dtCustomFree ( void *  ptr)
inline
36{
37 delete [] (unsigned char*)ptr;
38}

Referenced by World::SetInitialWorldSettings().