diff options
author | Justin Clarke Casey | 2008-05-01 20:47:33 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-05-01 20:47:33 +0000 |
commit | 1de6cffa28348975a2492ce1e8a85c365df4dfaf (patch) | |
tree | 6431e5598defd603a4b2a8c5020b65d7df5a56a7 /OpenSim/Framework/Communications/IInventoryServices.cs | |
parent | create pass through of UserManagerBase to plugin calls (diff) | |
download | opensim-SC_OLD-1de6cffa28348975a2492ce1e8a85c365df4dfaf.zip opensim-SC_OLD-1de6cffa28348975a2492ce1e8a85c365df4dfaf.tar.gz opensim-SC_OLD-1de6cffa28348975a2492ce1e8a85c365df4dfaf.tar.bz2 opensim-SC_OLD-1de6cffa28348975a2492ce1e8a85c365df4dfaf.tar.xz |
* Refactor: Remove the unused userID parameter that was being passed into almost every inventory method
* This allows lots of redundant inventory methods with only slightly different names to be eliminated.
Diffstat (limited to 'OpenSim/Framework/Communications/IInventoryServices.cs')
-rw-r--r-- | OpenSim/Framework/Communications/IInventoryServices.cs | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/OpenSim/Framework/Communications/IInventoryServices.cs b/OpenSim/Framework/Communications/IInventoryServices.cs index c82c946..5907c38 100644 --- a/OpenSim/Framework/Communications/IInventoryServices.cs +++ b/OpenSim/Framework/Communications/IInventoryServices.cs | |||
@@ -50,46 +50,46 @@ namespace OpenSim.Framework.Communications | |||
50 | void RequestInventoryForUser(LLUUID userID, InventoryReceiptCallback callback); | 50 | void RequestInventoryForUser(LLUUID userID, InventoryReceiptCallback callback); |
51 | 51 | ||
52 | /// <summary> | 52 | /// <summary> |
53 | /// Add a new folder to the given user's inventory | 53 | /// Add a new folder to the user's inventory |
54 | /// </summary> | 54 | /// </summary> |
55 | /// <param name="userID"></param> | ||
56 | /// <param name="folder"></param> | 55 | /// <param name="folder"></param> |
57 | void AddNewInventoryFolder(LLUUID userID, InventoryFolderBase folder); | 56 | /// <returns>true if the folder was successfully added</returns> |
57 | bool AddFolder(InventoryFolderBase folder); | ||
58 | 58 | ||
59 | /// <summary> | 59 | /// <summary> |
60 | /// Move an inventory folder to a new location | 60 | /// Move an inventory folder to a new location |
61 | /// </summary> | 61 | /// </summary> |
62 | /// <param name="userID"></param> | ||
63 | /// <param name="folder">A folder containing the details of the new location</param> | 62 | /// <param name="folder">A folder containing the details of the new location</param> |
64 | void MoveInventoryFolder(LLUUID userID, InventoryFolderBase folder); | 63 | /// <returns>true if the folder was successfully moved</returns> |
64 | bool MoveFolder(InventoryFolderBase folder); | ||
65 | 65 | ||
66 | /// <summary> | 66 | /// <summary> |
67 | /// Purge an inventory folder of all its items and subfolders. | 67 | /// Purge an inventory folder of all its items and subfolders. |
68 | /// </summary> | 68 | /// </summary> |
69 | /// <param name="userID"></param> | ||
70 | /// <param name="folder"></param> | 69 | /// <param name="folder"></param> |
71 | void PurgeInventoryFolder(LLUUID userID, InventoryFolderBase folder); | 70 | /// <returns>true if the folder was successfully purged</returns> |
71 | bool PurgeFolder(InventoryFolderBase folder); | ||
72 | 72 | ||
73 | /// <summary> | 73 | /// <summary> |
74 | /// Add a new item to the given user's inventory | 74 | /// Add a new item to the user's inventory |
75 | /// </summary> | 75 | /// </summary> |
76 | /// <param name="userID"></param> | ||
77 | /// <param name="item"></param> | 76 | /// <param name="item"></param> |
78 | void AddNewInventoryItem(LLUUID userID, InventoryItemBase item); | 77 | /// <returns>true if the item was successfully added</returns> |
78 | bool AddItem(InventoryItemBase item); | ||
79 | 79 | ||
80 | /// <summary> | 80 | /// <summary> |
81 | /// Update an item in the given user's inventory | 81 | /// Update an item in the user's inventory |
82 | /// </summary> | 82 | /// </summary> |
83 | /// <param name="userID"></param> | ||
84 | /// <param name="item"></param> | 83 | /// <param name="item"></param> |
85 | void UpdateInventoryItem(LLUUID userID, InventoryItemBase item); | 84 | /// <returns>true if the item was successfully updated</returns> |
85 | bool UpdateItem(InventoryItemBase item); | ||
86 | 86 | ||
87 | /// <summary> | 87 | /// <summary> |
88 | /// Delete an item from the given user's inventory | 88 | /// Delete an item from the user's inventory |
89 | /// </summary> | 89 | /// </summary> |
90 | /// <param name="userID"></param> | ||
91 | /// <param name="item"></param> | 90 | /// <param name="item"></param> |
92 | void DeleteInventoryItem(LLUUID userID, InventoryItemBase item); | 91 | /// <returns>true if the item was successfully deleted</returns> |
92 | bool DeleteItem(InventoryItemBase item); | ||
93 | 93 | ||
94 | /// <summary> | 94 | /// <summary> |
95 | /// Create a new inventory for the given user. | 95 | /// Create a new inventory for the given user. |