Plumb RezRestoreToWorld from the client (part done)
parent
57b6398b71
commit
43ca32150c
|
@ -51,6 +51,7 @@ namespace OpenSim.Framework
|
||||||
UUID RayTargetID, byte BypassRayCast, bool RayEndIsIntersection,
|
UUID RayTargetID, byte BypassRayCast, bool RayEndIsIntersection,
|
||||||
bool RezSelected, bool RemoveItem, UUID fromTaskID);
|
bool RezSelected, bool RemoveItem, UUID fromTaskID);
|
||||||
|
|
||||||
|
public delegate void RezRestoreToWorld(IClientAPI remoteClient, UUID itemId);
|
||||||
public delegate ISceneEntity RezSingleAttachmentFromInv(IClientAPI remoteClient, UUID itemID, uint AttachmentPt);
|
public delegate ISceneEntity RezSingleAttachmentFromInv(IClientAPI remoteClient, UUID itemID, uint AttachmentPt);
|
||||||
|
|
||||||
public delegate void RezMultipleAttachmentsFromInv(IClientAPI remoteClient, List<KeyValuePair<UUID, uint>> rezlist );
|
public delegate void RezMultipleAttachmentsFromInv(IClientAPI remoteClient, List<KeyValuePair<UUID, uint>> rezlist );
|
||||||
|
@ -818,6 +819,7 @@ namespace OpenSim.Framework
|
||||||
event TeleportLandmarkRequest OnTeleportLandmarkRequest;
|
event TeleportLandmarkRequest OnTeleportLandmarkRequest;
|
||||||
event TeleportCancel OnTeleportCancel;
|
event TeleportCancel OnTeleportCancel;
|
||||||
event DeRezObject OnDeRezObject;
|
event DeRezObject OnDeRezObject;
|
||||||
|
event RezRestoreToWorld OnRezRestoreToWorld;
|
||||||
event Action<IClientAPI> OnRegionHandShakeReply;
|
event Action<IClientAPI> OnRegionHandShakeReply;
|
||||||
event GenericCall1 OnRequestWearables;
|
event GenericCall1 OnRequestWearables;
|
||||||
event Action<IClientAPI, bool> OnCompleteMovementToRegion;
|
event Action<IClientAPI, bool> OnCompleteMovementToRegion;
|
||||||
|
|
|
@ -80,6 +80,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
public event ChatMessage OnChatFromClient;
|
public event ChatMessage OnChatFromClient;
|
||||||
public event RezObject OnRezObject;
|
public event RezObject OnRezObject;
|
||||||
public event DeRezObject OnDeRezObject;
|
public event DeRezObject OnDeRezObject;
|
||||||
|
public event RezRestoreToWorld OnRezRestoreToWorld;
|
||||||
public event ModifyTerrain OnModifyTerrain;
|
public event ModifyTerrain OnModifyTerrain;
|
||||||
public event Action<IClientAPI> OnRegionHandShakeReply;
|
public event Action<IClientAPI> OnRegionHandShakeReply;
|
||||||
public event GenericCall1 OnRequestWearables;
|
public event GenericCall1 OnRequestWearables;
|
||||||
|
@ -5662,6 +5663,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
AddLocalPacketHandler(PacketType.TerminateFriendship, HandlerTerminateFriendship);
|
AddLocalPacketHandler(PacketType.TerminateFriendship, HandlerTerminateFriendship);
|
||||||
AddLocalPacketHandler(PacketType.RezObject, HandlerRezObject);
|
AddLocalPacketHandler(PacketType.RezObject, HandlerRezObject);
|
||||||
AddLocalPacketHandler(PacketType.DeRezObject, HandlerDeRezObject);
|
AddLocalPacketHandler(PacketType.DeRezObject, HandlerDeRezObject);
|
||||||
|
AddLocalPacketHandler(PacketType.RezRestoreToWorld, HandlerRezRestoreToWorld);
|
||||||
AddLocalPacketHandler(PacketType.ModifyLand, HandlerModifyLand);
|
AddLocalPacketHandler(PacketType.ModifyLand, HandlerModifyLand);
|
||||||
AddLocalPacketHandler(PacketType.RegionHandshakeReply, HandlerRegionHandshakeReply, false);
|
AddLocalPacketHandler(PacketType.RegionHandshakeReply, HandlerRegionHandshakeReply, false);
|
||||||
AddLocalPacketHandler(PacketType.AgentWearablesRequest, HandlerAgentWearablesRequest);
|
AddLocalPacketHandler(PacketType.AgentWearablesRequest, HandlerAgentWearablesRequest);
|
||||||
|
@ -6584,6 +6586,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private bool HandlerRezRestoreToWorld(IClientAPI sender, Packet Pack)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
private bool HandlerModifyLand(IClientAPI sender, Packet Pack)
|
private bool HandlerModifyLand(IClientAPI sender, Packet Pack)
|
||||||
{
|
{
|
||||||
ModifyLandPacket modify = (ModifyLandPacket)Pack;
|
ModifyLandPacket modify = (ModifyLandPacket)Pack;
|
||||||
|
|
|
@ -687,6 +687,7 @@ namespace OpenSim.Region.OptionalModules.Agent.InternetRelayClientView.Server
|
||||||
public event TeleportLandmarkRequest OnTeleportLandmarkRequest;
|
public event TeleportLandmarkRequest OnTeleportLandmarkRequest;
|
||||||
public event TeleportCancel OnTeleportCancel;
|
public event TeleportCancel OnTeleportCancel;
|
||||||
public event DeRezObject OnDeRezObject;
|
public event DeRezObject OnDeRezObject;
|
||||||
|
public event RezRestoreToWorld OnRezRestoreToWorld;
|
||||||
public event Action<IClientAPI> OnRegionHandShakeReply;
|
public event Action<IClientAPI> OnRegionHandShakeReply;
|
||||||
public event GenericCall1 OnRequestWearables;
|
public event GenericCall1 OnRequestWearables;
|
||||||
public event Action<IClientAPI, bool> OnCompleteMovementToRegion;
|
public event Action<IClientAPI, bool> OnCompleteMovementToRegion;
|
||||||
|
|
|
@ -294,6 +294,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC
|
||||||
public event SetAlwaysRun OnSetAlwaysRun;
|
public event SetAlwaysRun OnSetAlwaysRun;
|
||||||
|
|
||||||
public event DeRezObject OnDeRezObject;
|
public event DeRezObject OnDeRezObject;
|
||||||
|
public event RezRestoreToWorld OnRezRestoreToWorld;
|
||||||
public event Action<IClientAPI> OnRegionHandShakeReply;
|
public event Action<IClientAPI> OnRegionHandShakeReply;
|
||||||
public event GenericCall1 OnRequestWearables;
|
public event GenericCall1 OnRequestWearables;
|
||||||
public event Action<IClientAPI, bool> OnCompleteMovementToRegion;
|
public event Action<IClientAPI, bool> OnCompleteMovementToRegion;
|
||||||
|
|
|
@ -118,6 +118,7 @@ namespace OpenSim.Tests.Common
|
||||||
public event SetAlwaysRun OnSetAlwaysRun;
|
public event SetAlwaysRun OnSetAlwaysRun;
|
||||||
|
|
||||||
public event DeRezObject OnDeRezObject;
|
public event DeRezObject OnDeRezObject;
|
||||||
|
public event RezRestoreToWorld OnRezRestoreToWorld;
|
||||||
public event Action<IClientAPI> OnRegionHandShakeReply;
|
public event Action<IClientAPI> OnRegionHandShakeReply;
|
||||||
public event GenericCall1 OnRequestWearables;
|
public event GenericCall1 OnRequestWearables;
|
||||||
public event Action<IClientAPI, bool> OnCompleteMovementToRegion;
|
public event Action<IClientAPI, bool> OnCompleteMovementToRegion;
|
||||||
|
|
Loading…
Reference in New Issue