Add parcel info "UUID" to snapshot

0.6.0-stable
Melanie Thielker 2008-10-05 16:23:21 +00:00
parent c84987426b
commit 1794a56ce0
1 changed files with 6 additions and 0 deletions

View File

@ -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);