summaryrefslogtreecommitdiffstats
path: root/src/Server.h
diff options
context:
space:
mode:
authorRorkh <78957156+Rorkh@users.noreply.github.com>2022-01-27 01:56:45 +0100
committerGitHub <noreply@github.com>2022-01-27 01:56:45 +0100
commit5fe1fe899bfe55b1c27fb03a7d7e76b0b67b9cc7 (patch)
tree555ed9a75b3d3c168fcd4b1461c8c6965e32cf3d /src/Server.h
parentUpdate to libdeflate 1.9 (diff)
downloadcuberite-5fe1fe899bfe55b1c27fb03a7d7e76b0b67b9cc7.tar
cuberite-5fe1fe899bfe55b1c27fb03a7d7e76b0b67b9cc7.tar.gz
cuberite-5fe1fe899bfe55b1c27fb03a7d7e76b0b67b9cc7.tar.bz2
cuberite-5fe1fe899bfe55b1c27fb03a7d7e76b0b67b9cc7.tar.lz
cuberite-5fe1fe899bfe55b1c27fb03a7d7e76b0b67b9cc7.tar.xz
cuberite-5fe1fe899bfe55b1c27fb03a7d7e76b0b67b9cc7.tar.zst
cuberite-5fe1fe899bfe55b1c27fb03a7d7e76b0b67b9cc7.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 6fa2002e4..479fbb865 100644
--- a/src/Server.h
+++ b/src/Server.h
@@ -96,6 +96,8 @@ public:
const AString & GetResourcePackUrl(void) { return m_ResourcePackUrl; }
+ std::string_view GetCustomRedirectUrl(void) { return m_CustomRedirectUrl; }
+
bool Start(void);
bool Command(cClientHandle & a_Client, AString & a_Cmd);
@@ -222,6 +224,7 @@ private:
size_t m_MaxPlayers;
bool m_bIsHardcore;
AString m_ResourcePackUrl;
+ AString m_CustomRedirectUrl;
/** Map of protocol version to Forge mods (map of ModName -> ModVersionString) */
std::map<UInt32, AStringMap> m_ForgeModsByVersion;