diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim.RegionServer/Assets/InventoryCache.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim.RegionServer/Assets/InventoryCache.cs b/OpenSim.RegionServer/Assets/InventoryCache.cs index f50047a..3a4aa36 100644 --- a/OpenSim.RegionServer/Assets/InventoryCache.cs +++ b/OpenSim.RegionServer/Assets/InventoryCache.cs | |||
@@ -57,6 +57,16 @@ namespace OpenSim.Assets | |||
57 | this._agentsInventory.Add(agentInventory.AgentID, agentInventory); | 57 | this._agentsInventory.Add(agentInventory.AgentID, agentInventory); |
58 | } | 58 | } |
59 | 59 | ||
60 | public AgentInventory GetAgentsInventory(LLUUID agentID) | ||
61 | { | ||
62 | if (this._agentsInventory.ContainsKey(agentID)) | ||
63 | { | ||
64 | return this._agentsInventory[agentID]; | ||
65 | } | ||
66 | |||
67 | return null; | ||
68 | } | ||
69 | |||
60 | public void ClientLeaving(LLUUID clientID) | 70 | public void ClientLeaving(LLUUID clientID) |
61 | { | 71 | { |
62 | if (this._agentsInventory.ContainsKey(clientID)) | 72 | if (this._agentsInventory.ContainsKey(clientID)) |