From 7d89e122930be39e84a6d174548fa2d12ac0484a Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Sat, 6 Sep 2008 07:52:41 +0000 Subject: * This is the fabled LibOMV update with all of the libOMV types from JHurliman * This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke. --- OpenSim/Framework/TaskInventoryItem.cs | 50 +++++++++++++++++----------------- 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'OpenSim/Framework/TaskInventoryItem.cs') diff --git a/OpenSim/Framework/TaskInventoryItem.cs b/OpenSim/Framework/TaskInventoryItem.cs index fc84041..60b22db 100644 --- a/OpenSim/Framework/TaskInventoryItem.cs +++ b/OpenSim/Framework/TaskInventoryItem.cs @@ -31,7 +31,7 @@ using System.Reflection; using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; -using libsecondlife; +using OpenMetaverse; using log4net; namespace OpenSim.Framework @@ -41,7 +41,7 @@ namespace OpenSim.Framework /// /// This class is not thread safe. Callers must synchronize on Dictionary methods. /// - public class TaskInventoryDictionary : Dictionary, + public class TaskInventoryDictionary : Dictionary, ICloneable, IXmlSerializable { // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); @@ -56,7 +56,7 @@ namespace OpenSim.Framework lock (this) { - foreach (LLUUID uuid in Keys) + foreach (UUID uuid in Keys) { clone.Add(uuid, (TaskInventoryItem) this[uuid].Clone()); } @@ -76,7 +76,7 @@ namespace OpenSim.Framework // at System.Xml.Serialization.TypeTranslator.GetTypeData (System.Type runtimeType, System.String xmlDataType) [0x001f6] in /build/buildd/mono-1.2.4/mcs/class/System.XML/System.Xml.Serialization/TypeTranslator.cs:217 // ... // private static XmlSerializer tiiSerializer -// = new XmlSerializer(typeof(Dictionary.ValueCollection)); +// = new XmlSerializer(typeof(Dictionary.ValueCollection)); // see IXmlSerializable @@ -203,31 +203,31 @@ namespace OpenSim.Framework "gesture" }; - private LLUUID _assetID = LLUUID.Zero; + private UUID _assetID = UUID.Zero; private uint _baseMask = FULL_MASK_PERMISSIONS_GENERAL; private uint _creationDate = 0; - private LLUUID _creatorID = LLUUID.Zero; + private UUID _creatorID = UUID.Zero; private string _description = String.Empty; private uint _everyoneMask = FULL_MASK_PERMISSIONS_GENERAL; private uint _flags = 0; - private LLUUID _groupID = LLUUID.Zero; + private UUID _groupID = UUID.Zero; private uint _groupMask = FULL_MASK_PERMISSIONS_GENERAL; private int _invType = 0; - private LLUUID _itemID = LLUUID.Zero; - private LLUUID _lastOwnerID = LLUUID.Zero; + private UUID _itemID = UUID.Zero; + private UUID _lastOwnerID = UUID.Zero; private string _name = String.Empty; private uint _nextOwnerMask = FULL_MASK_PERMISSIONS_GENERAL; - private LLUUID _ownerID = LLUUID.Zero; + private UUID _ownerID = UUID.Zero; private uint _ownerMask = FULL_MASK_PERMISSIONS_GENERAL; - private LLUUID _parentID = LLUUID.Zero; //parent folder id - private LLUUID _parentPartID = LLUUID.Zero; // SceneObjectPart this is inside - private LLUUID _permsGranter; + private UUID _parentID = UUID.Zero; //parent folder id + private UUID _parentPartID = UUID.Zero; // SceneObjectPart this is inside + private UUID _permsGranter; private int _permsMask; private int _type = 0; - public LLUUID AssetID { + public UUID AssetID { get { return _assetID; } @@ -254,7 +254,7 @@ namespace OpenSim.Framework } } - public LLUUID CreatorID { + public UUID CreatorID { get { return _creatorID; } @@ -290,7 +290,7 @@ namespace OpenSim.Framework } } - public LLUUID GroupID { + public UUID GroupID { get { return _groupID; } @@ -317,7 +317,7 @@ namespace OpenSim.Framework } } - public LLUUID ItemID { + public UUID ItemID { get { return _itemID; } @@ -326,7 +326,7 @@ namespace OpenSim.Framework } } - public LLUUID LastOwnerID { + public UUID LastOwnerID { get { return _lastOwnerID; } @@ -353,7 +353,7 @@ namespace OpenSim.Framework } } - public LLUUID OwnerID { + public UUID OwnerID { get { return _ownerID; } @@ -371,7 +371,7 @@ namespace OpenSim.Framework } } - public LLUUID ParentID { + public UUID ParentID { get { return _parentID; } @@ -380,7 +380,7 @@ namespace OpenSim.Framework } } - public LLUUID ParentPartID { + public UUID ParentPartID { get { return _parentPartID; } @@ -389,7 +389,7 @@ namespace OpenSim.Framework } } - public LLUUID PermsGranter { + public UUID PermsGranter { get { return _permsGranter; } @@ -428,12 +428,12 @@ namespace OpenSim.Framework #endregion /// - /// Reset the LLUUIDs for this item. + /// Reset the UUIDs for this item. /// /// The new part ID to which this item belongs - public void ResetIDs(LLUUID partID) + public void ResetIDs(UUID partID) { - _itemID = LLUUID.Random(); + _itemID = UUID.Random(); _parentPartID = partID; } } -- cgit v1.1