Attempting to reach parsing parity with xmlrpc on LLSD login code. Appears Second Life is broken, but this should do for now...

This commit is contained in:
Cinder
2021-12-12 18:06:54 -06:00
parent 51c5fbf5c6
commit 86d18d6149
2 changed files with 101 additions and 15 deletions

View File

@@ -893,6 +893,11 @@ namespace OpenMetaverse.StructuredData
return new OSDMap(new Dictionary<string, OSD>(_mMap));
}
public Hashtable ToHashtable()
{
return new Hashtable(_mMap);
}
#region IDictionary Implementation
public int Count => _mMap.Count;
@@ -1125,6 +1130,11 @@ namespace OpenMetaverse.StructuredData
return OSDParser.SerializeJsonString(this, true);
}
public ArrayList ToArrayList()
{
return new ArrayList(_mArray);
}
#region IList Implementation
public int Count => _mArray.Count;