diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs index 903ddcc..592254a 100644 --- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs +++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | |||
@@ -418,6 +418,16 @@ namespace OpenSim.Region.ClientStack | |||
418 | break; | 418 | break; |
419 | case PacketType.UpdateInventoryItem: | 419 | case PacketType.UpdateInventoryItem: |
420 | UpdateInventoryItemPacket update = (UpdateInventoryItemPacket)Pack; | 420 | UpdateInventoryItemPacket update = (UpdateInventoryItemPacket)Pack; |
421 | if (OnUpdateInventoryItem != null) | ||
422 | { | ||
423 | for (int i = 0; i < update.InventoryData.Length; i++) | ||
424 | { | ||
425 | if (update.InventoryData[i].TransactionID != LLUUID.Zero) | ||
426 | { | ||
427 | OnUpdateInventoryItem(this, update.InventoryData[i].TransactionID, update.InventoryData[i].TransactionID.Combine(this.SecureSessionID), update.InventoryData[i].ItemID); | ||
428 | } | ||
429 | } | ||
430 | } | ||
421 | //Console.WriteLine(Pack.ToString()); | 431 | //Console.WriteLine(Pack.ToString()); |
422 | /*for (int i = 0; i < update.InventoryData.Length; i++) | 432 | /*for (int i = 0; i < update.InventoryData.Length; i++) |
423 | { | 433 | { |
@@ -457,7 +467,7 @@ namespace OpenSim.Region.ClientStack | |||
457 | } | 467 | } |
458 | break; | 468 | break; |
459 | case PacketType.UpdateTaskInventory: | 469 | case PacketType.UpdateTaskInventory: |
460 | //Console.WriteLine(Pack.ToString()); | 470 | //Console.WriteLine(Pack.ToString()); |
461 | UpdateTaskInventoryPacket updatetask = (UpdateTaskInventoryPacket)Pack; | 471 | UpdateTaskInventoryPacket updatetask = (UpdateTaskInventoryPacket)Pack; |
462 | break; | 472 | break; |
463 | case PacketType.RezScript: | 473 | case PacketType.RezScript: |