summaryrefslogtreecommitdiffstats
path: root/src/Root.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-29 17:45:55 +0200
committermadmaxoft <github@xoft.cz>2014-07-30 13:56:29 +0200
commit4dd858f8997488e2252f5a04df9df1654a70d67f (patch)
treebc6aa5f62851eaec507a167298ce98746e02d246 /src/Root.h
parentFixed SQLiteCpp include paths for MSVC2010+. (diff)
downloadcuberite-4dd858f8997488e2252f5a04df9df1654a70d67f.tar
cuberite-4dd858f8997488e2252f5a04df9df1654a70d67f.tar.gz
cuberite-4dd858f8997488e2252f5a04df9df1654a70d67f.tar.bz2
cuberite-4dd858f8997488e2252f5a04df9df1654a70d67f.tar.lz
cuberite-4dd858f8997488e2252f5a04df9df1654a70d67f.tar.xz
cuberite-4dd858f8997488e2252f5a04df9df1654a70d67f.tar.zst
cuberite-4dd858f8997488e2252f5a04df9df1654a70d67f.zip
Diffstat (limited to '')
-rw-r--r--src/Root.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Root.h b/src/Root.h
index 08aafe3c9..92a60a10d 100644
--- a/src/Root.h
+++ b/src/Root.h
@@ -2,6 +2,7 @@
#pragma once
#include "Protocol/Authenticator.h"
+#include "Protocol/MojangAPI.h"
#include "HTTPServer/HTTPServer.h"
#include "Defines.h"
@@ -78,6 +79,7 @@ public:
cWebAdmin * GetWebAdmin (void) { return m_WebAdmin; } // tolua_export
cPluginManager * GetPluginManager (void) { return m_PluginManager; } // tolua_export
cAuthenticator & GetAuthenticator (void) { return m_Authenticator; }
+ cMojangAPI & GetMojangAPI (void) { return m_MojangAPI; }
/** Queues a console command for execution through the cServer class.
The command will be executed in the tick thread
@@ -182,6 +184,7 @@ private:
cWebAdmin * m_WebAdmin;
cPluginManager * m_PluginManager;
cAuthenticator m_Authenticator;
+ cMojangAPI m_MojangAPI;
cHTTPServer m_HTTPServer;
cMCLogger * m_Log;