diff options
Diffstat (limited to 'OpenSim/Services/HypergridService/HGInventoryService.cs')
-rw-r--r-- | OpenSim/Services/HypergridService/HGInventoryService.cs | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/OpenSim/Services/HypergridService/HGInventoryService.cs b/OpenSim/Services/HypergridService/HGInventoryService.cs index 3233caf..9158b41 100644 --- a/OpenSim/Services/HypergridService/HGInventoryService.cs +++ b/OpenSim/Services/HypergridService/HGInventoryService.cs | |||
@@ -103,12 +103,6 @@ namespace OpenSim.Services.HypergridService | |||
103 | return new List<InventoryFolderBase>(); | 103 | return new List<InventoryFolderBase>(); |
104 | } | 104 | } |
105 | 105 | ||
106 | public override InventoryCollection GetUserInventory(UUID userID) | ||
107 | { | ||
108 | // NOGO for this inventory service | ||
109 | return null; | ||
110 | } | ||
111 | |||
112 | public override InventoryFolderBase GetRootFolder(UUID principalID) | 106 | public override InventoryFolderBase GetRootFolder(UUID principalID) |
113 | { | 107 | { |
114 | //m_log.DebugFormat("[HG INVENTORY SERVICE]: GetRootFolder for {0}", principalID); | 108 | //m_log.DebugFormat("[HG INVENTORY SERVICE]: GetRootFolder for {0}", principalID); |
@@ -121,7 +115,7 @@ namespace OpenSim.Services.HypergridService | |||
121 | return ConvertToOpenSim(folders[0]); | 115 | return ConvertToOpenSim(folders[0]); |
122 | 116 | ||
123 | // make one | 117 | // make one |
124 | XInventoryFolder suitcase = CreateFolder(principalID, UUID.Zero, (int)AssetType.Folder, "My Suitcase"); | 118 | XInventoryFolder suitcase = CreateFolder(principalID, UUID.Zero, (int)FolderType.Suitcase, "My Suitcase"); |
125 | return ConvertToOpenSim(suitcase); | 119 | return ConvertToOpenSim(suitcase); |
126 | } | 120 | } |
127 | 121 | ||
@@ -147,7 +141,7 @@ namespace OpenSim.Services.HypergridService | |||
147 | //} | 141 | //} |
148 | 142 | ||
149 | 143 | ||
150 | public override InventoryFolderBase GetFolderForType(UUID principalID, AssetType type) | 144 | public override InventoryFolderBase GetFolderForType(UUID principalID, FolderType type) |
151 | { | 145 | { |
152 | //m_log.DebugFormat("[HG INVENTORY SERVICE]: GetFolderForType for {0} {0}", principalID, type); | 146 | //m_log.DebugFormat("[HG INVENTORY SERVICE]: GetFolderForType for {0} {0}", principalID, type); |
153 | return GetRootFolder(principalID); | 147 | return GetRootFolder(principalID); |
@@ -159,7 +153,14 @@ namespace OpenSim.Services.HypergridService | |||
159 | //public InventoryCollection GetFolderContent(UUID principalID, UUID folderID) | 153 | //public InventoryCollection GetFolderContent(UUID principalID, UUID folderID) |
160 | //{ | 154 | //{ |
161 | //} | 155 | //} |
162 | 156 | ||
157 | // NOGO | ||
158 | // | ||
159 | public override InventoryCollection[] GetMultipleFoldersContent(UUID principalID, UUID[] folderID) | ||
160 | { | ||
161 | return new InventoryCollection[0]; | ||
162 | } | ||
163 | |||
163 | //public List<InventoryItemBase> GetFolderItems(UUID principalID, UUID folderID) | 164 | //public List<InventoryItemBase> GetFolderItems(UUID principalID, UUID folderID) |
164 | //{ | 165 | //{ |
165 | //} | 166 | //} |