From 43ca32150c1856f7b3768172fec2d06b8f5e5bef Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Wed, 9 Mar 2016 02:45:11 +0100 Subject: Plumb RezRestoreToWorld from the client (part done) --- OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs') 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 public event ChatMessage OnChatFromClient; public event RezObject OnRezObject; public event DeRezObject OnDeRezObject; + public event RezRestoreToWorld OnRezRestoreToWorld; public event ModifyTerrain OnModifyTerrain; public event Action OnRegionHandShakeReply; public event GenericCall1 OnRequestWearables; @@ -5662,6 +5663,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP AddLocalPacketHandler(PacketType.TerminateFriendship, HandlerTerminateFriendship); AddLocalPacketHandler(PacketType.RezObject, HandlerRezObject); AddLocalPacketHandler(PacketType.DeRezObject, HandlerDeRezObject); + AddLocalPacketHandler(PacketType.RezRestoreToWorld, HandlerRezRestoreToWorld); AddLocalPacketHandler(PacketType.ModifyLand, HandlerModifyLand); AddLocalPacketHandler(PacketType.RegionHandshakeReply, HandlerRegionHandshakeReply, false); AddLocalPacketHandler(PacketType.AgentWearablesRequest, HandlerAgentWearablesRequest); @@ -6584,6 +6586,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP return true; } + private bool HandlerRezRestoreToWorld(IClientAPI sender, Packet Pack) + { + return false; + } + private bool HandlerModifyLand(IClientAPI sender, Packet Pack) { ModifyLandPacket modify = (ModifyLandPacket)Pack; -- cgit v1.1