summaryrefslogtreecommitdiffstats
path: root/src/Server.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-01-07 17:41:13 +0100
committerMattes D <github@xoft.cz>2014-01-07 17:41:13 +0100
commita87daa969e01ee3f27048ced3864c82c4e80af22 (patch)
tree5f58b341730fba9e456e7ae8d456f5de53b7aedd /src/Server.h
parentDisabled an unneeded MSVC warning. (diff)
parentAvoid making copies of favicon string (diff)
downloadcuberite-a87daa969e01ee3f27048ced3864c82c4e80af22.tar
cuberite-a87daa969e01ee3f27048ced3864c82c4e80af22.tar.gz
cuberite-a87daa969e01ee3f27048ced3864c82c4e80af22.tar.bz2
cuberite-a87daa969e01ee3f27048ced3864c82c4e80af22.tar.lz
cuberite-a87daa969e01ee3f27048ced3864c82c4e80af22.tar.xz
cuberite-a87daa969e01ee3f27048ced3864c82c4e80af22.tar.zst
cuberite-a87daa969e01ee3f27048ced3864c82c4e80af22.zip
Diffstat (limited to 'src/Server.h')
-rw-r--r--src/Server.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Server.h b/src/Server.h
index e62c4c7b7..2609b6874 100644
--- a/src/Server.h
+++ b/src/Server.h
@@ -106,6 +106,8 @@ public: // tolua_export
/// Notifies the server that a player is being destroyed; the server uses this to adjust the number of players
void PlayerDestroying(const cPlayer * a_Player);
+
+ const AString & GetFaviconData(void) const;
CryptoPP::RSA::PrivateKey & GetPrivateKey(void) { return m_PrivateKey; }
CryptoPP::RSA::PublicKey & GetPublicKey (void) { return m_PublicKey; }
@@ -183,6 +185,7 @@ private:
cRCONServer m_RCONServer;
AString m_Description;
+ AString m_FaviconData;
int m_MaxPlayers;
bool m_bIsHardcore;