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 <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 (std::size_t size, dtAllocHint)
 
void dtCustomFree (void *ptr)
 

Function Documentation

◆ dtCustomAlloc()

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

Referenced by World::SetInitialWorldSettings().

◆ dtCustomFree()

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

Referenced by World::SetInitialWorldSettings().