extra callback for showing internet game login dialog

This commit is contained in:
doitux
2009-11-08 21:18:25 +00:00
parent 5424aed21e
commit 9e7792fd8e
8 changed files with 38 additions and 18 deletions
+3 -3
View File
@@ -154,7 +154,7 @@ boost::shared_ptr<AvatarManager> Session::getAvatarManager()
return myAvatarManager;
}
void Session::startInternetClient(const std::string &username, const std::string &password)
void Session::startInternetClient()
{
if (myNetClient || !myGui)
{
@@ -178,8 +178,8 @@ void Session::startInternetClient(const std::string &username, const std::string
myConfig->readConfigInt("InternetServerUseIpv6") == 1,
myConfig->readConfigInt("InternetServerUseSctp") == 1,
useAvatarServer ? myConfig->readConfigString("AvatarServerAddress") : "",
username,
password,
myConfig->readConfigString("MyName"),
"testpw",
myConfig->readConfigString("MyAvatar"),
myQtToolsInterface->stringFromUtf8(myConfig->readConfigString("CacheDir")));
myNetClient->Run();