diff options
author | MW | 2007-08-22 17:40:26 +0000 |
---|---|---|
committer | MW | 2007-08-22 17:40:26 +0000 |
commit | 001d5a5c923899b036c8135f9031867f8a431d5b (patch) | |
tree | e1fe2653147cfa6283c029ccc28e0564bfd966fe /OpenSim/Region/ClientStack | |
parent | A little bit of cleaning up. (diff) | |
download | opensim-SC-001d5a5c923899b036c8135f9031867f8a431d5b.zip opensim-SC-001d5a5c923899b036c8135f9031867f8a431d5b.tar.gz opensim-SC-001d5a5c923899b036c8135f9031867f8a431d5b.tar.bz2 opensim-SC-001d5a5c923899b036c8135f9031867f8a431d5b.tar.xz |
Made SceneObjectGroup.GetChildPrim() public, for now so that script engine can get ref to the SceneObjectPart/ IScriptHost.
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.API.cs | 1 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.API.cs b/OpenSim/Region/ClientStack/ClientView.API.cs index 029b948..6570a82 100644 --- a/OpenSim/Region/ClientStack/ClientView.API.cs +++ b/OpenSim/Region/ClientStack/ClientView.API.cs | |||
@@ -93,6 +93,7 @@ namespace OpenSim.Region.ClientStack | |||
93 | public event RequestXfer OnRequestXfer; | 93 | public event RequestXfer OnRequestXfer; |
94 | public event ConfirmXfer OnConfirmXfer; | 94 | public event ConfirmXfer OnConfirmXfer; |
95 | public event RezScript OnRezScript; | 95 | public event RezScript OnRezScript; |
96 | public event UpdateTaskInventory OnUpdateTaskInventory; | ||
96 | 97 | ||
97 | public event UUIDNameRequest OnNameFromUUIDRequest; | 98 | public event UUIDNameRequest OnNameFromUUIDRequest; |
98 | 99 | ||
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs index c17f453..383c7a9 100644 --- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs +++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | |||
@@ -476,6 +476,16 @@ namespace OpenSim.Region.ClientStack | |||
476 | case PacketType.UpdateTaskInventory: | 476 | case PacketType.UpdateTaskInventory: |
477 | //Console.WriteLine(Pack.ToString()); | 477 | //Console.WriteLine(Pack.ToString()); |
478 | UpdateTaskInventoryPacket updatetask = (UpdateTaskInventoryPacket)Pack; | 478 | UpdateTaskInventoryPacket updatetask = (UpdateTaskInventoryPacket)Pack; |
479 | if (OnUpdateTaskInventory != null) | ||
480 | { | ||
481 | if (updatetask.UpdateData.Key == 0) | ||
482 | { | ||
483 | OnUpdateTaskInventory(this, updatetask.InventoryData.ItemID, updatetask.InventoryData.FolderID, updatetask.UpdateData.LocalID); | ||
484 | } | ||
485 | } | ||
486 | break; | ||
487 | case PacketType.MoveTaskInventory: | ||
488 | //Console.WriteLine(Pack.ToString()); | ||
479 | break; | 489 | break; |
480 | case PacketType.RezScript: | 490 | case PacketType.RezScript: |
481 | //Console.WriteLine(Pack.ToString()); | 491 | //Console.WriteLine(Pack.ToString()); |