mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 22:26:09 +08:00
The new Constant: integer OBJECT_REZZER_KEY = 32;
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com> Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
This commit is contained in:
committed by
UbitUmarov
parent
fcd1e36ed6
commit
7c566dca5a
@@ -428,6 +428,7 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
|
||||
m_SOPXmlProcessors.Add("GroupID", ProcessGroupID);
|
||||
m_SOPXmlProcessors.Add("OwnerID", ProcessOwnerID);
|
||||
m_SOPXmlProcessors.Add("LastOwnerID", ProcessLastOwnerID);
|
||||
m_SOPXmlProcessors.Add("RezzerID", ProcessRezzerID);
|
||||
m_SOPXmlProcessors.Add("BaseMask", ProcessBaseMask);
|
||||
m_SOPXmlProcessors.Add("OwnerMask", ProcessOwnerMask);
|
||||
m_SOPXmlProcessors.Add("GroupMask", ProcessGroupMask);
|
||||
@@ -864,6 +865,11 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
|
||||
obj.LastOwnerID = Util.ReadUUID(reader, "LastOwnerID");
|
||||
}
|
||||
|
||||
private static void ProcessRezzerID(SceneObjectPart obj, XmlReader reader)
|
||||
{
|
||||
obj.RezzerID = Util.ReadUUID(reader, "RezzerID");
|
||||
}
|
||||
|
||||
private static void ProcessBaseMask(SceneObjectPart obj, XmlReader reader)
|
||||
{
|
||||
obj.BaseMask = (uint)reader.ReadElementContentAsInt("BaseMask", String.Empty);
|
||||
@@ -1452,6 +1458,9 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
|
||||
UUID lastOwnerID = options.ContainsKey("wipe-owners") ? UUID.Zero : sop.LastOwnerID;
|
||||
WriteUUID(writer, "LastOwnerID", lastOwnerID, options);
|
||||
|
||||
UUID rezzerID = options.ContainsKey("wipe-owners") ? UUID.Zero : sop.RezzerID;
|
||||
WriteUUID(writer, "RezzerID", rezzerID, options);
|
||||
|
||||
writer.WriteElementString("BaseMask", sop.BaseMask.ToString());
|
||||
writer.WriteElementString("OwnerMask", sop.OwnerMask.ToString());
|
||||
writer.WriteElementString("GroupMask", sop.GroupMask.ToString());
|
||||
|
||||
Reference in New Issue
Block a user