diff options
author | Julian Laubstein <julianlaubstein@yahoo.de> | 2017-01-04 01:08:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-04 01:08:50 +0100 |
commit | 21ad5d7c4a452938346c7a286f6b1e00a6fe87cb (patch) | |
tree | 352aa5c7246b92cd61c70fd20fad9e36fd06faf7 /src/Server.h | |
parent | TCPLink: call networking callbacks with LibEvent unlocked. (#3515) (diff) | |
parent | Merge branch 'master' into DisconnectMessage (diff) | |
download | cuberite-21ad5d7c4a452938346c7a286f6b1e00a6fe87cb.tar cuberite-21ad5d7c4a452938346c7a286f6b1e00a6fe87cb.tar.gz cuberite-21ad5d7c4a452938346c7a286f6b1e00a6fe87cb.tar.bz2 cuberite-21ad5d7c4a452938346c7a286f6b1e00a6fe87cb.tar.lz cuberite-21ad5d7c4a452938346c7a286f6b1e00a6fe87cb.tar.xz cuberite-21ad5d7c4a452938346c7a286f6b1e00a6fe87cb.tar.zst cuberite-21ad5d7c4a452938346c7a286f6b1e00a6fe87cb.zip |
Diffstat (limited to 'src/Server.h')
-rw-r--r-- | src/Server.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Server.h b/src/Server.h index 600e7ca97..74f9581ae 100644 --- a/src/Server.h +++ b/src/Server.h @@ -64,6 +64,8 @@ public: const AString & GetDescription(void) const {return m_Description; } + const AString & GetShutdownMessage(void) const { return m_ShutdownMessage; } + // Player counts: int GetMaxPlayers(void) const { return m_MaxPlayers; } int GetNumPlayers(void) const; @@ -204,6 +206,7 @@ private: cRCONServer m_RCONServer; AString m_Description; + AString m_ShutdownMessage; AString m_FaviconData; int m_MaxPlayers; bool m_bIsHardcore; |