* Removed the poorly done GetType function from _Packets_.cs

* Housecleaning in FriendsManager
* Make sure LLSDString is never holding a null pointer
* Changes to Login.cs to prepare for the LLSD switch (it is not happening yet!)
* Fixed LLSD export for prims to export light/flex/sculpt data as well, importing that back in is still a TODO

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1540 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2007-12-21 02:25:36 +00:00
parent bb21d0e11a
commit 9f8e97f13b
14 changed files with 556 additions and 634 deletions

View File

@@ -42,7 +42,7 @@ namespace libsecondlife.TestClient
public bool Running = true;
string contactPerson = String.Empty;
string version = "1.0.0";
private LLUUID resolvedMasterKey = LLUUID.Zero;
private ManualResetEvent keyResolution = new ManualResetEvent(false);
@@ -50,16 +50,14 @@ namespace libsecondlife.TestClient
///
/// </summary>
/// <param name="accounts"></param>
public ClientManager(List<LoginDetails> accounts, string c)
public ClientManager(List<LoginDetails> accounts)
{
this.contactPerson = c;
foreach (LoginDetails account in accounts)
Login(account);
}
public ClientManager(List<LoginDetails> accounts, string c, string s)
public ClientManager(List<LoginDetails> accounts, string s)
{
this.contactPerson = c;
char sep = '/';
string[] startbits = s.Split(sep);
@@ -98,8 +96,8 @@ namespace libsecondlife.TestClient
client.MasterName = account.MasterName;
client.MasterKey = account.MasterKey;
NetworkManager.LoginParams loginParams = client.Network.DefaultLoginParams(
account.FirstName, account.LastName, account.Password, "TestClient", contactPerson);
LoginParams loginParams = client.Network.DefaultLoginParams(
account.FirstName, account.LastName, account.Password, "TestClient", version);
if (!String.IsNullOrEmpty(account.StartLocation))
loginParams.Start = account.StartLocation;