* Tleiades grid mode inventory (#444) - thanx Tleiades!

* updated to rev 1413 on libsecondlife.dll and libsecondlife.dll.config (#423)
This commit is contained in:
lbsa71
2007-09-27 13:25:45 +00:00
parent 569ba9eb9a
commit 8143c597fc
37 changed files with 1040 additions and 439 deletions

View File

@@ -25,15 +25,19 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using libsecondlife;
namespace OpenSim.Framework.Data
{
public enum InventoryCategory : byte { Library, Default, User };
/// <summary>
/// Inventory Item - contains all the properties associated with an individual inventory piece.
/// </summary>
public class InventoryItemBase
public class InventoryItemBase : MarshalByRefObject
{
/// <summary>
/// A UUID containing the ID for the inventory item itself
@@ -66,10 +70,12 @@ namespace OpenSim.Framework.Data
/// <summary>
/// The name of the inventory item (must be less than 64 characters)
/// </summary>
[XmlElement(ElementName="name")]
public string inventoryName;
/// <summary>
/// The description of the inventory item (must be less than 64 characters)
/// </summary>
[XmlElement(ElementName = "description")]
public string inventoryDescription;
/// <summary>
/// A mask containing the permissions for the next owner (cannot be enforced)
@@ -92,7 +98,7 @@ namespace OpenSim.Framework.Data
/// <summary>
/// A Class for folders which contain users inventory
/// </summary>
public class InventoryFolderBase
public class InventoryFolderBase : MarshalByRefObject
{
/// <summary>
/// The name of the folder (64 characters or less)
@@ -118,6 +124,10 @@ namespace OpenSim.Framework.Data
///
/// </summary>
public ushort version;
/// <summary>
/// Inventory category, Library, Default, System
/// </summary>
public InventoryCategory category;
}
/// <summary>
@@ -161,13 +171,6 @@ namespace OpenSim.Framework.Data
/// <returns>A list of folder objects</returns>
List<InventoryFolderBase> getUserRootFolders(LLUUID user);
/// <summary>
/// Returns the users inventory root folder.
/// </summary>
/// <param name="user">The UUID of the user who is having inventory being returned</param>
/// <returns>Root inventory folder</returns>
InventoryFolderBase getUserRootFolder(LLUUID user);
/// <summary>
/// Returns a list of inventory folders contained in the folder 'parentID'
/// </summary>
@@ -218,5 +221,17 @@ namespace OpenSim.Framework.Data
/// </summary>
/// <param name="folder">The inventory folder</param>
void updateInventoryFolder(InventoryFolderBase folder);
/// <summary>
/// Delete a complete inventory category
/// </summary>
/// <param name="inventoryCategory">What folder category shout be deleted</param>
void deleteInventoryCategory(InventoryCategory inventoryCategory);
/// <summary>
/// Setup the initial folderset of a user
/// </summary>
/// <param name="user"></param>
//void CreateNewUserInventory(LLUUID user);
}
}