diff options
author | Justin Clark-Casey (justincc) | 2011-07-08 22:28:17 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-07-08 22:28:17 +0100 |
commit | 5700c582ba3727678dfd87f80dab8d09da88df63 (patch) | |
tree | da69097f1d0b11ffc9bb4db0f4ac5b5a567259b0 /OpenSim/Region/Framework/Interfaces | |
parent | refactor: eliminate redundant return statement (diff) | |
download | opensim-SC_OLD-5700c582ba3727678dfd87f80dab8d09da88df63.zip opensim-SC_OLD-5700c582ba3727678dfd87f80dab8d09da88df63.tar.gz opensim-SC_OLD-5700c582ba3727678dfd87f80dab8d09da88df63.tar.bz2 opensim-SC_OLD-5700c582ba3727678dfd87f80dab8d09da88df63.tar.xz |
refactor: rename bool returning GetAgentInventoryItem() to CanGetAgentInventoryItem() to improve code readability
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IInventoryAccessModule.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IInventoryAccessModule.cs b/OpenSim/Region/Framework/Interfaces/IInventoryAccessModule.cs index 305975e..da11e61 100644 --- a/OpenSim/Region/Framework/Interfaces/IInventoryAccessModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IInventoryAccessModule.cs | |||
@@ -59,7 +59,15 @@ namespace OpenSim.Region.Framework.Interfaces | |||
59 | UUID RayTargetID, byte BypassRayCast, bool RayEndIsIntersection, | 59 | UUID RayTargetID, byte BypassRayCast, bool RayEndIsIntersection, |
60 | bool RezSelected, bool RemoveItem, UUID fromTaskID, bool attachment); | 60 | bool RezSelected, bool RemoveItem, UUID fromTaskID, bool attachment); |
61 | void TransferInventoryAssets(InventoryItemBase item, UUID sender, UUID receiver); | 61 | void TransferInventoryAssets(InventoryItemBase item, UUID sender, UUID receiver); |
62 | bool GetAgentInventoryItem(IClientAPI remoteClient, UUID itemID, UUID requestID); | 62 | |
63 | /// <summary> | ||
64 | /// Does the client have sufficient permissions to retrieve the inventory item? | ||
65 | /// </summary> | ||
66 | /// <param name="remoteClient"></param> | ||
67 | /// <param name="itemID"></param> | ||
68 | /// <param name="requestID"></param> | ||
69 | /// <returns></returns> | ||
70 | bool CanGetAgentInventoryItem(IClientAPI remoteClient, UUID itemID, UUID requestID); | ||
63 | 71 | ||
64 | // Must be here because of textures in user's inventory | 72 | // Must be here because of textures in user's inventory |
65 | bool IsForeignUser(UUID userID, out string assetServerURL); | 73 | bool IsForeignUser(UUID userID, out string assetServerURL); |