Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
VMapFactory.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 "VMapFactory.h"
7#include "VMapManager2.h"
8
9namespace VMAP
10{
12
13 //===============================================
14 // just return the instance
16 {
17 if (gVMapManager == 0)
18 gVMapManager= new VMapManager2(); // should be taken from config ... Please change if you like :-)
19 return gVMapManager;
20 }
21
22 //===============================================
23 // delete all internal data structures
25 {
26 delete gVMapManager;
27 gVMapManager = NULL;
28 }
29}
static IVMapManager * createOrGetVMapManager()
static void clear()
IVMapManager * gVMapManager