123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- using System;
- using System.Collections.Generic;
- using OpenMetaverse;
- using OpenSim.Framework;
- namespace OpenSim.Data
- {
- public class XInventoryFolder
- {
- public string folderName;
- public int type;
- public int version;
- public UUID folderID;
- public UUID agentID;
- public UUID parentFolderID;
- }
- public class XInventoryItem
- {
- public UUID assetID;
- public int assetType;
- public string inventoryName;
- public string inventoryDescription;
- public int inventoryNextPermissions;
- public int inventoryCurrentPermissions;
- public int invType;
- public string creatorID;
- public int inventoryBasePermissions;
- public int inventoryEveryOnePermissions;
- public int salePrice;
- public int saleType;
- public int creationDate;
- public UUID groupID;
- public int groupOwned;
- public int flags;
- public UUID inventoryID;
- public UUID avatarID;
- public UUID parentFolderID;
- public int inventoryGroupPermissions;
- }
- public interface IXInventoryData
- {
- XInventoryFolder[] GetFolders(string[] fields, string[] vals);
- XInventoryItem[] GetItems(string[] fields, string[] vals);
- bool StoreFolder(XInventoryFolder folder);
- bool StoreItem(XInventoryItem item);
-
-
-
-
-
-
- bool DeleteFolders(string field, string val);
-
-
-
-
-
-
- bool DeleteFolders(string[] fields, string[] vals);
-
-
-
-
-
-
- bool DeleteItems(string field, string val);
-
-
-
-
-
-
- bool DeleteItems(string[] fields, string[] vals);
- bool MoveItem(string id, string newParent);
- XInventoryItem[] GetActiveGestures(UUID principalID);
- int GetAssetPermissions(UUID principalID, UUID assetID);
- }
- }
|