diff options
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/AgentAssetTransactionsManager.cs | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/OpenSim/Framework/Communications/Cache/AgentAssetTransactionsManager.cs b/OpenSim/Framework/Communications/Cache/AgentAssetTransactionsManager.cs index 70471cc..c9c35d2 100644 --- a/OpenSim/Framework/Communications/Cache/AgentAssetTransactionsManager.cs +++ b/OpenSim/Framework/Communications/Cache/AgentAssetTransactionsManager.cs | |||
@@ -81,28 +81,17 @@ namespace OpenSim.Framework.Communications.Cache | |||
81 | /// Get the collection of asset transactions for the given user. | 81 | /// Get the collection of asset transactions for the given user. |
82 | /// </summary> | 82 | /// </summary> |
83 | /// <param name="userID"></param> | 83 | /// <param name="userID"></param> |
84 | /// <returns></returns> | 84 | /// <returns>null if this agent does not have an asset transactions collection</returns> |
85 | public AgentAssetTransactions GetUserTransactions(LLUUID userID) | 85 | public AgentAssetTransactions GetUserTransactions(LLUUID userID) |
86 | { | 86 | { |
87 | if (AgentTransactions.ContainsKey(userID)) | 87 | if (AgentTransactions.ContainsKey(userID)) |
88 | { | 88 | { |
89 | return AgentTransactions[userID]; | 89 | return AgentTransactions[userID]; |
90 | } | 90 | } |
91 | |||
91 | return null; | 92 | return null; |
92 | } | 93 | } |
93 | 94 | ||
94 | public void HandleInventoryFromTransaction(IClientAPI remoteClient, LLUUID transactionID, LLUUID folderID, | ||
95 | uint callbackID, string description, string name, sbyte invType, | ||
96 | sbyte type, byte wearableType, uint nextOwnerMask) | ||
97 | { | ||
98 | AgentAssetTransactions transactions = GetUserTransactions(remoteClient.AgentId); | ||
99 | if (transactions != null) | ||
100 | { | ||
101 | transactions.RequestCreateInventoryItem(remoteClient, transactionID, folderID, callbackID, description, | ||
102 | name, invType, type, wearableType, nextOwnerMask); | ||
103 | } | ||
104 | } | ||
105 | |||
106 | public void HandleUDPUploadRequest(IClientAPI remoteClient, LLUUID assetID, LLUUID transaction, sbyte type, | 95 | public void HandleUDPUploadRequest(IClientAPI remoteClient, LLUUID assetID, LLUUID transaction, sbyte type, |
107 | byte[] data, bool storeLocal, bool tempFile) | 96 | byte[] data, bool storeLocal, bool tempFile) |
108 | { | 97 | { |