Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Toggle main menu visibility
Loading...
Searching...
No Matches
MMapFactory.h
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
#ifndef _MMAP_FACTORY_H
7
#define _MMAP_FACTORY_H
8
9
#include "
MMapManager.h
"
10
#include "
UnorderedMap.h
"
11
#include "DetourAlloc.h"
12
#include "DetourNavMesh.h"
13
#include "DetourNavMeshQuery.h"
14
15
namespace
MMAP
16
{
17
enum
MMAP_LOAD_RESULT
18
{
19
MMAP_LOAD_RESULT_ERROR
,
20
MMAP_LOAD_RESULT_OK
,
21
MMAP_LOAD_RESULT_IGNORED
22
};
23
24
// static class
25
// holds all mmap global data
26
// access point to MMapManager singleton
27
class
MMapFactory
28
{
29
public
:
30
static
MMapManager
*
createOrGetMMapManager
();
31
static
void
clear
();
32
static
bool
IsPathfindingEnabled
(
uint32
mapId);
33
};
34
}
35
36
#endif
37
uint32
std::uint32_t uint32
Definition
Define.h:77
MMapManager.h
UnorderedMap.h
MMAP::MMapFactory
Definition
MMapFactory.h:28
MMAP::MMapFactory::createOrGetMMapManager
static MMapManager * createOrGetMMapManager()
Definition
MMapFactory.cpp:17
MMAP::MMapFactory::IsPathfindingEnabled
static bool IsPathfindingEnabled(uint32 mapId)
Definition
MMapFactory.cpp:25
MMAP::MMapFactory::clear
static void clear()
Definition
MMapFactory.cpp:31
MMAP::MMapManager
Definition
MMapManager.h:81
MMAP
Definition
MMapFactory.cpp:12
MMAP::MMAP_LOAD_RESULT
MMAP_LOAD_RESULT
Definition
MMapFactory.h:18
MMAP::MMAP_LOAD_RESULT_ERROR
@ MMAP_LOAD_RESULT_ERROR
Definition
MMapFactory.h:19
MMAP::MMAP_LOAD_RESULT_IGNORED
@ MMAP_LOAD_RESULT_IGNORED
Definition
MMapFactory.h:21
MMAP::MMAP_LOAD_RESULT_OK
@ MMAP_LOAD_RESULT_OK
Definition
MMapFactory.h:20
src
server
collision
Management
MMapFactory.h
Generated on
for Project SkyFire Core by
1.17.0