Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
MMapFactory.cpp
Go to the documentation of this file.
1/*
2* This file is part of Project SkyFire https://www.projectskyfire.org.
3* See LICENSE.md file for Copyright information
4*/
5
6#include "MMapFactory.h"
7#include "World.h"
8#include "Config.h"
9#include "DisableMgr.h"
10
11namespace MMAP
12{
13 // ######################## MMapFactory ########################
14 // our global singleton copy
16
24
30
32 {
33 if (g_MMapManager)
34 {
35 delete g_MMapManager;
36 g_MMapManager = NULL;
37 }
38 }
39}
std::uint32_t uint32
Definition Define.h:77
@ MMAP_DISABLE_PATHFINDING
Definition DisableMgr.h:49
@ DISABLE_TYPE_MMAP
Definition DisableMgr.h:22
static MMapManager * createOrGetMMapManager()
static bool IsPathfindingEnabled(uint32 mapId)
static void clear()
#define sWorld
Definition World.h:910
@ CONFIG_ENABLE_MMAPS
Definition World.h:159
bool IsDisabledFor(DisableType type, uint32 entry, Unit const *unit, uint8 flags)
MMapManager * g_MMapManager