summaryrefslogtreecommitdiffstats
path: root/source/Server.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2013-11-05 22:24:23 +0100
committerMattes D <github@xoft.cz>2013-11-05 22:24:23 +0100
commit12eeb3f6c88f54b77363923fcff2bd4ce53ff07f (patch)
tree3ed83d1132a2b1a8b6f9e36a7d6f3a527d258992 /source/Server.h
parentClarified cBlockHandler::ConvertToPickups() dox. (diff)
parentImplemented suggestions (diff)
downloadcuberite-12eeb3f6c88f54b77363923fcff2bd4ce53ff07f.tar
cuberite-12eeb3f6c88f54b77363923fcff2bd4ce53ff07f.tar.gz
cuberite-12eeb3f6c88f54b77363923fcff2bd4ce53ff07f.tar.bz2
cuberite-12eeb3f6c88f54b77363923fcff2bd4ce53ff07f.tar.lz
cuberite-12eeb3f6c88f54b77363923fcff2bd4ce53ff07f.tar.xz
cuberite-12eeb3f6c88f54b77363923fcff2bd4ce53ff07f.tar.zst
cuberite-12eeb3f6c88f54b77363923fcff2bd4ce53ff07f.zip
Diffstat (limited to 'source/Server.h')
-rw-r--r--source/Server.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/Server.h b/source/Server.h
index b4fe81d8f..6742153ac 100644
--- a/source/Server.h
+++ b/source/Server.h
@@ -46,6 +46,9 @@ public: // tolua_export
int GetNumPlayers(void);
void SetMaxPlayers(int a_MaxPlayers) { m_MaxPlayers = a_MaxPlayers; }
+ // Hardcore mode or not:
+ bool IsHardcore(void) const {return m_bIsHardcore; }
+
// tolua_end
bool Start(void);
@@ -161,6 +164,7 @@ private:
AString m_Description;
int m_MaxPlayers;
+ bool m_bIsHardcore;
cTickThread m_TickThread;
cEvent m_RestartEvent;