From 6a21bf979c5ef4ad473971257f59fe9101397cd6 Mon Sep 17 00:00:00 2001 From: Mat Date: Wed, 8 Apr 2020 00:23:54 +0300 Subject: Initial resource pack support (#4622) --- src/Server.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Server.h') diff --git a/src/Server.h b/src/Server.h index ab821c102..28342cfb6 100644 --- a/src/Server.h +++ b/src/Server.h @@ -94,6 +94,8 @@ public: // tolua_end + const AString & GetResourcePackUrl(void) { return m_ResourcePackUrl; } + bool Start(void); bool Command(cClientHandle & a_Client, AString & a_Cmd); @@ -214,6 +216,7 @@ private: AString m_FaviconData; size_t m_MaxPlayers; bool m_bIsHardcore; + AString m_ResourcePackUrl; /** Map of protocol version to Forge mods (map of ModName -> ModVersionString) */ std::map m_ForgeModsByVersion; -- cgit v1.2.3