mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-23 22:17:31 +00:00
3e3148e910
* convert zone manager to game namespace * Destroy logger last
30 lines
630 B
C++
30 lines
630 B
C++
#pragma once
|
|
|
|
#include <random>
|
|
|
|
class dServer;
|
|
class dLogger;
|
|
class InstanceManager;
|
|
class dChatFilter;
|
|
class dConfig;
|
|
class RakPeerInterface;
|
|
class AssetManager;
|
|
struct SystemAddress;
|
|
class EntityManager;
|
|
class dZoneManager;
|
|
|
|
namespace Game {
|
|
extern dLogger* logger;
|
|
extern dServer* server;
|
|
extern InstanceManager* im;
|
|
extern dChatFilter* chatFilter;
|
|
extern dConfig* config;
|
|
extern std::mt19937 randomEngine;
|
|
extern RakPeerInterface* chatServer;
|
|
extern AssetManager* assetManager;
|
|
extern SystemAddress chatSysAddr;
|
|
extern bool shouldShutdown;
|
|
extern EntityManager* entityManager;
|
|
extern dZoneManager* zoneManager;
|
|
}
|