summaryrefslogtreecommitdiff
path: root/src/account-server/accounthandler.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-06-06 19:32:58 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-10-26 00:30:10 +0200
commit677d6fd86cc17095690acac3d6af4a12f9561c31 (patch)
treedc0c1fdb58166984e4e0c4eed6fe2a3dfb06a9d8 /src/account-server/accounthandler.cpp
parent3f79baabbd9bbe83fdd3b06abda33055b42735a0 (diff)
downloadmanaserv-677d6fd86cc17095690acac3d6af4a12f9561c31.tar.gz
manaserv-677d6fd86cc17095690acac3d6af4a12f9561c31.tar.bz2
manaserv-677d6fd86cc17095690acac3d6af4a12f9561c31.tar.xz
manaserv-677d6fd86cc17095690acac3d6af4a12f9561c31.zip
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
Diffstat (limited to 'src/account-server/accounthandler.cpp')
-rw-r--r--src/account-server/accounthandler.cpp7
1 files changed, 7 insertions, 0 deletions
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.