From 1794a56ce071a444aa9f97b88984a92643bd91ff Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Sun, 5 Oct 2008 16:23:21 +0000 Subject: Add parcel info "UUID" to snapshot --- OpenSim/Region/DataSnapshot/LandSnapshot.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/OpenSim/Region/DataSnapshot/LandSnapshot.cs b/OpenSim/Region/DataSnapshot/LandSnapshot.cs index 5b75417..680a1fa 100644 --- a/OpenSim/Region/DataSnapshot/LandSnapshot.cs +++ b/OpenSim/Region/DataSnapshot/LandSnapshot.cs @@ -188,6 +188,12 @@ namespace OpenSim.Region.DataSnapshot.Providers tpLocation.InnerText = loc.X.ToString() + "/" + loc.Y.ToString() + "/" + loc.Z.ToString(); xmlparcel.AppendChild(tpLocation); + XmlNode infouuid = nodeFactory.CreateNode(XmlNodeType.Element, "infouuid", ""); + infouuid.InnerText = Util.BuildFakeParcelID( + m_scene.RegionInfo.RegionHandle, + (uint)loc.X, (uint)loc.Y).ToString(); + xmlparcel.AppendChild(infouuid); + XmlNode dwell = nodeFactory.CreateNode(XmlNodeType.Element, "dwell", ""); dwell.InnerText = "0"; xmlparcel.AppendChild(dwell); -- cgit v1.1