aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorSean Dague2007-12-03 17:24:27 +0000
committerSean Dague2007-12-03 17:24:27 +0000
commitc29105aa3ee52e158b4c7870409165a89be4bcf6 (patch)
treec4bdf2497100bc9fb8a59635a6c0e3109d516161 /OpenSim/Framework
parentAdded a flag to load-xml console command, that will generate new uuids for th... (diff)
downloadopensim-SC-c29105aa3ee52e158b4c7870409165a89be4bcf6.zip
opensim-SC-c29105aa3ee52e158b4c7870409165a89be4bcf6.tar.gz
opensim-SC-c29105aa3ee52e158b4c7870409165a89be4bcf6.tar.bz2
opensim-SC-c29105aa3ee52e158b4c7870409165a89be4bcf6.tar.xz
This is a simple patch which just renames an IClientAPI method to
SendInventoryItemCreateUpdate() in order to reflect the actual packet it sends (UpdateCreateInventoryItem). From Justin Casey (IBM)
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Communications/Cache/AssetTransactions.cs2
-rw-r--r--OpenSim/Framework/IClientAPI.cs8
2 files changed, 8 insertions, 2 deletions
diff --git a/OpenSim/Framework/Communications/Cache/AssetTransactions.cs b/OpenSim/Framework/Communications/Cache/AssetTransactions.cs
index f7e80c9..9bc24e7 100644
--- a/OpenSim/Framework/Communications/Cache/AssetTransactions.cs
+++ b/OpenSim/Framework/Communications/Cache/AssetTransactions.cs
@@ -350,7 +350,7 @@ namespace OpenSim.Framework.Communications.Cache
350 item.inventoryNextPermissions = nextPerm; 350 item.inventoryNextPermissions = nextPerm;
351 351
352 userInfo.AddItem(ourClient.AgentId, item); 352 userInfo.AddItem(ourClient.AgentId, item);
353 ourClient.SendInventoryItemUpdate(item); 353 ourClient.SendInventoryItemCreateUpdate(item);
354 } 354 }
355 } 355 }
356 356
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs
index ae46d8e..a3177f7 100644
--- a/OpenSim/Framework/IClientAPI.cs
+++ b/OpenSim/Framework/IClientAPI.cs
@@ -477,7 +477,13 @@ namespace OpenSim.Framework
477 477
478 void SendInventoryFolderDetails(LLUUID ownerID, LLUUID folderID, List<InventoryItemBase> items, int subFoldersCount); 478 void SendInventoryFolderDetails(LLUUID ownerID, LLUUID folderID, List<InventoryItemBase> items, int subFoldersCount);
479 void SendInventoryItemDetails(LLUUID ownerID, InventoryItemBase item); 479 void SendInventoryItemDetails(LLUUID ownerID, InventoryItemBase item);
480 void SendInventoryItemUpdate(InventoryItemBase Item); 480
481 /// <summary>
482 /// Tell the client that we have created the item it requested.
483 /// </summary>
484 /// <param name="Item"></param>
485 void SendInventoryItemCreateUpdate(InventoryItemBase Item);
486
481 void SendRemoveInventoryItem(LLUUID itemID); 487 void SendRemoveInventoryItem(LLUUID itemID);
482 void SendTaskInventory(LLUUID taskID, short serial, byte[] fileName); 488 void SendTaskInventory(LLUUID taskID, short serial, byte[] fileName);
483 void SendXferPacket(ulong xferID, uint packet, byte[] data); 489 void SendXferPacket(ulong xferID, uint packet, byte[] data);