* OMG! All but one references to UserProfileCacheService have been rerouted!

* HG is seriously broken here
* Compiles. Untested.
This commit is contained in:
Diva Canto
2010-01-10 10:40:07 -08:00
parent 78e9dc7c2c
commit 1e1b2ab221
34 changed files with 795 additions and 1182 deletions

View File

@@ -29,6 +29,7 @@ using System.IO;
using System.Xml;
using OpenMetaverse;
using OpenSim.Framework;
using OpenSim.Services.Interfaces;
namespace OpenSim.Framework.Serialization.External
{
@@ -40,7 +41,7 @@ namespace OpenSim.Framework.Serialization.External
public const int MAJOR_VERSION = 0;
public const int MINOR_VERSION = 1;
public static string Serialize(UserProfileData profile)
public static string Serialize(UserAccount profile)
{
StringWriter sw = new StringWriter();
XmlTextWriter xtw = new XmlTextWriter(sw);
@@ -51,9 +52,9 @@ namespace OpenSim.Framework.Serialization.External
xtw.WriteAttributeString("major_version", MAJOR_VERSION.ToString());
xtw.WriteAttributeString("minor_version", MINOR_VERSION.ToString());
xtw.WriteElementString("name", profile.Name);
xtw.WriteElementString("id", profile.ID.ToString());
xtw.WriteElementString("about", profile.AboutText);
xtw.WriteElementString("name", profile.FirstName + " " + profile.LastName);
xtw.WriteElementString("id", profile.PrincipalID.ToString());
xtw.WriteElementString("about", "");
// Not sure if we're storing this yet, need to take a look
// xtw.WriteElementString("Url", profile.Url);