TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
MMapFactory.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
3  * Copyright (C) 2005-2010 MaNGOS <http://getmangos.com/>
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU General Public License as published by the
7  * Free Software Foundation; either version 2 of the License, or (at your
8  * option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13  * more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 #ifndef _MMAP_FACTORY_H
20 #define _MMAP_FACTORY_H
21 
22 #include "Define.h"
23 #include "MMapManager.h"
24 #include "DetourAlloc.h"
25 #include "DetourNavMesh.h"
26 #include "DetourNavMeshQuery.h"
27 #include <unordered_map>
28 
29 namespace MMAP
30 {
32  {
36  };
37 
38  // static class
39  // holds all mmap global data
40  // access point to MMapManager singleton
42  {
43  public:
44  static MMapManager* createOrGetMMapManager();
45  static void clear();
46  static bool IsPathfindingEnabled(uint32 mapId);
47  };
48 }
49 
50 #endif
51 
bool IsPathfindingEnabled(uint32 mapId)
Definition: DisableMgr.cpp:380
Definition: MMapFactory.h:33
Definition: MMapFactory.cpp:22
Definition: MMapFactory.h:34
MMAP_LOAD_RESULT
Definition: MMapFactory.h:31
uint32_t uint32
Definition: Define.h:150
Definition: MMapFactory.h:41
#define TC_COMMON_API
Definition: Define.h:116
Definition: MMapManager.h:93
Definition: MMapFactory.h:35