summaryrefslogtreecommitdiffstats
path: root/source/Server.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-11 15:23:47 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-11 15:23:47 +0100
commitf46d4bd5611a285d1c71e7ee56c7b6913fd28a2d (patch)
tree5dff7a9e977464d9efc4e43824ece9e47e0a5ac1 /source/Server.h
parentPrimaryServerVersion is not force-saved into settings.ini. (diff)
downloadcuberite-f46d4bd5611a285d1c71e7ee56c7b6913fd28a2d.tar
cuberite-f46d4bd5611a285d1c71e7ee56c7b6913fd28a2d.tar.gz
cuberite-f46d4bd5611a285d1c71e7ee56c7b6913fd28a2d.tar.bz2
cuberite-f46d4bd5611a285d1c71e7ee56c7b6913fd28a2d.tar.lz
cuberite-f46d4bd5611a285d1c71e7ee56c7b6913fd28a2d.tar.xz
cuberite-f46d4bd5611a285d1c71e7ee56c7b6913fd28a2d.tar.zst
cuberite-f46d4bd5611a285d1c71e7ee56c7b6913fd28a2d.zip
Diffstat (limited to 'source/Server.h')
-rw-r--r--source/Server.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/Server.h b/source/Server.h
index 8d21e7834..a93ee454a 100644
--- a/source/Server.h
+++ b/source/Server.h
@@ -21,6 +21,7 @@
class cPlayer;
class cClientHandle;
+class cIniFile;
typedef std::list<cClientHandle *> cClientHandleList;
@@ -33,7 +34,7 @@ class cServer //tolua_export
public: //tolua_export
static cServer * GetServer(); //tolua_export
- bool InitServer( int a_Port = 25565 );
+ bool InitServer(cIniFile & a_SettingsIni);
int GetPort() { return m_iServerPort; }
bool IsConnected(){return m_bIsConnected;} // returns connection status