<3 donovan nascent suport for the new login system. still needs to actually poll /inworld/go.php to get the web key automagically.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1516 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
jef
2007-12-05 20:23:46 +00:00
parent b8d7966ee5
commit 8a3754d552
4 changed files with 19 additions and 1 deletions

View File

@@ -116,6 +116,16 @@ namespace libsecondlife.TestClient
accounts.Add(account);
}
else if (arguments["first"] != null && arguments["last"] != null && arguments["loginkey"] != null)
{
// Taking a single login off the command-line
account = new LoginDetails();
account.FirstName = arguments["first"];
account.LastName = arguments["last"];
account.WebLoginKey = arguments["loginkey"];
accounts.Add(account);
}
else
{
throw new CommandLineArgumentsException();