From 677d6fd86cc17095690acac3d6af4a12f9561c31 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sun, 6 Jun 2010 19:32:58 +0200 Subject: Send a client data URL in addition to the update host This is for developing/testing an experimental new resource manager that downloads only the files it needs on demand. Currently only used by the Mana Mobile project. Regular Mana client ignores the setting. Reviewed-by: Jared Adams --- src/account-server/accounthandler.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/account-server/accounthandler.cpp') diff --git a/src/account-server/accounthandler.cpp b/src/account-server/accounthandler.cpp index ab049dd5..7c17102a 100644 --- a/src/account-server/accounthandler.cpp +++ b/src/account-server/accounthandler.cpp @@ -49,6 +49,13 @@ static void addUpdateHost(MessageOut *msg) std::string updateHost = Configuration::getValue("net_defaultUpdateHost", ""); msg->writeString(updateHost); + + /* + * This is for developing/testing an experimental new resource manager that + * downloads only the files it needs on demand. + */ + std::string dataUrl = Configuration::getValue("net_clientDataUrl", ""); + msg->writeString(dataUrl); } // List of attributes that the client can send at account creation. -- cgit v1.2.3-60-g2f50