diff options
Diffstat (limited to 'OpenSim')
5 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index 85edce3..696b0ef 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs | |||
@@ -51,6 +51,7 @@ namespace OpenSim.Framework | |||
51 | UUID RayTargetID, byte BypassRayCast, bool RayEndIsIntersection, | 51 | UUID RayTargetID, byte BypassRayCast, bool RayEndIsIntersection, |
52 | bool RezSelected, bool RemoveItem, UUID fromTaskID); | 52 | bool RezSelected, bool RemoveItem, UUID fromTaskID); |
53 | 53 | ||
54 | public delegate void RezRestoreToWorld(IClientAPI remoteClient, UUID itemId); | ||
54 | public delegate ISceneEntity RezSingleAttachmentFromInv(IClientAPI remoteClient, UUID itemID, uint AttachmentPt); | 55 | public delegate ISceneEntity RezSingleAttachmentFromInv(IClientAPI remoteClient, UUID itemID, uint AttachmentPt); |
55 | 56 | ||
56 | public delegate void RezMultipleAttachmentsFromInv(IClientAPI remoteClient, List<KeyValuePair<UUID, uint>> rezlist ); | 57 | public delegate void RezMultipleAttachmentsFromInv(IClientAPI remoteClient, List<KeyValuePair<UUID, uint>> rezlist ); |
@@ -818,6 +819,7 @@ namespace OpenSim.Framework | |||
818 | event TeleportLandmarkRequest OnTeleportLandmarkRequest; | 819 | event TeleportLandmarkRequest OnTeleportLandmarkRequest; |
819 | event TeleportCancel OnTeleportCancel; | 820 | event TeleportCancel OnTeleportCancel; |
820 | event DeRezObject OnDeRezObject; | 821 | event DeRezObject OnDeRezObject; |
822 | event RezRestoreToWorld OnRezRestoreToWorld; | ||
821 | event Action<IClientAPI> OnRegionHandShakeReply; | 823 | event Action<IClientAPI> OnRegionHandShakeReply; |
822 | event GenericCall1 OnRequestWearables; | 824 | event GenericCall1 OnRequestWearables; |
823 | event Action<IClientAPI, bool> OnCompleteMovementToRegion; | 825 | event Action<IClientAPI, bool> OnCompleteMovementToRegion; |
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 5374fa5..36d16eb 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -80,6 +80,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
80 | public event ChatMessage OnChatFromClient; | 80 | public event ChatMessage OnChatFromClient; |
81 | public event RezObject OnRezObject; | 81 | public event RezObject OnRezObject; |
82 | public event DeRezObject OnDeRezObject; | 82 | public event DeRezObject OnDeRezObject; |
83 | public event RezRestoreToWorld OnRezRestoreToWorld; | ||
83 | public event ModifyTerrain OnModifyTerrain; | 84 | public event ModifyTerrain OnModifyTerrain; |
84 | public event Action<IClientAPI> OnRegionHandShakeReply; | 85 | public event Action<IClientAPI> OnRegionHandShakeReply; |
85 | public event GenericCall1 OnRequestWearables; | 86 | public event GenericCall1 OnRequestWearables; |
@@ -5662,6 +5663,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
5662 | AddLocalPacketHandler(PacketType.TerminateFriendship, HandlerTerminateFriendship); | 5663 | AddLocalPacketHandler(PacketType.TerminateFriendship, HandlerTerminateFriendship); |
5663 | AddLocalPacketHandler(PacketType.RezObject, HandlerRezObject); | 5664 | AddLocalPacketHandler(PacketType.RezObject, HandlerRezObject); |
5664 | AddLocalPacketHandler(PacketType.DeRezObject, HandlerDeRezObject); | 5665 | AddLocalPacketHandler(PacketType.DeRezObject, HandlerDeRezObject); |
5666 | AddLocalPacketHandler(PacketType.RezRestoreToWorld, HandlerRezRestoreToWorld); | ||
5665 | AddLocalPacketHandler(PacketType.ModifyLand, HandlerModifyLand); | 5667 | AddLocalPacketHandler(PacketType.ModifyLand, HandlerModifyLand); |
5666 | AddLocalPacketHandler(PacketType.RegionHandshakeReply, HandlerRegionHandshakeReply, false); | 5668 | AddLocalPacketHandler(PacketType.RegionHandshakeReply, HandlerRegionHandshakeReply, false); |
5667 | AddLocalPacketHandler(PacketType.AgentWearablesRequest, HandlerAgentWearablesRequest); | 5669 | AddLocalPacketHandler(PacketType.AgentWearablesRequest, HandlerAgentWearablesRequest); |
@@ -6584,6 +6586,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
6584 | return true; | 6586 | return true; |
6585 | } | 6587 | } |
6586 | 6588 | ||
6589 | private bool HandlerRezRestoreToWorld(IClientAPI sender, Packet Pack) | ||
6590 | { | ||
6591 | return false; | ||
6592 | } | ||
6593 | |||
6587 | private bool HandlerModifyLand(IClientAPI sender, Packet Pack) | 6594 | private bool HandlerModifyLand(IClientAPI sender, Packet Pack) |
6588 | { | 6595 | { |
6589 | ModifyLandPacket modify = (ModifyLandPacket)Pack; | 6596 | ModifyLandPacket modify = (ModifyLandPacket)Pack; |
diff --git a/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs b/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs index 6611744..f19cd47 100644 --- a/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs +++ b/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs | |||
@@ -687,6 +687,7 @@ namespace OpenSim.Region.OptionalModules.Agent.InternetRelayClientView.Server | |||
687 | public event TeleportLandmarkRequest OnTeleportLandmarkRequest; | 687 | public event TeleportLandmarkRequest OnTeleportLandmarkRequest; |
688 | public event TeleportCancel OnTeleportCancel; | 688 | public event TeleportCancel OnTeleportCancel; |
689 | public event DeRezObject OnDeRezObject; | 689 | public event DeRezObject OnDeRezObject; |
690 | public event RezRestoreToWorld OnRezRestoreToWorld; | ||
690 | public event Action<IClientAPI> OnRegionHandShakeReply; | 691 | public event Action<IClientAPI> OnRegionHandShakeReply; |
691 | public event GenericCall1 OnRequestWearables; | 692 | public event GenericCall1 OnRequestWearables; |
692 | public event Action<IClientAPI, bool> OnCompleteMovementToRegion; | 693 | public event Action<IClientAPI, bool> OnCompleteMovementToRegion; |
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs index d966fe5..95cf73c 100644 --- a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs | |||
@@ -294,6 +294,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
294 | public event SetAlwaysRun OnSetAlwaysRun; | 294 | public event SetAlwaysRun OnSetAlwaysRun; |
295 | 295 | ||
296 | public event DeRezObject OnDeRezObject; | 296 | public event DeRezObject OnDeRezObject; |
297 | public event RezRestoreToWorld OnRezRestoreToWorld; | ||
297 | public event Action<IClientAPI> OnRegionHandShakeReply; | 298 | public event Action<IClientAPI> OnRegionHandShakeReply; |
298 | public event GenericCall1 OnRequestWearables; | 299 | public event GenericCall1 OnRequestWearables; |
299 | public event Action<IClientAPI, bool> OnCompleteMovementToRegion; | 300 | public event Action<IClientAPI, bool> OnCompleteMovementToRegion; |
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs index ff7ba00..1d8e38f 100644 --- a/OpenSim/Tests/Common/Mock/TestClient.cs +++ b/OpenSim/Tests/Common/Mock/TestClient.cs | |||
@@ -118,6 +118,7 @@ namespace OpenSim.Tests.Common | |||
118 | public event SetAlwaysRun OnSetAlwaysRun; | 118 | public event SetAlwaysRun OnSetAlwaysRun; |
119 | 119 | ||
120 | public event DeRezObject OnDeRezObject; | 120 | public event DeRezObject OnDeRezObject; |
121 | public event RezRestoreToWorld OnRezRestoreToWorld; | ||
121 | public event Action<IClientAPI> OnRegionHandShakeReply; | 122 | public event Action<IClientAPI> OnRegionHandShakeReply; |
122 | public event GenericCall1 OnRequestWearables; | 123 | public event GenericCall1 OnRequestWearables; |
123 | public event Action<IClientAPI, bool> OnCompleteMovementToRegion; | 124 | public event Action<IClientAPI, bool> OnCompleteMovementToRegion; |