mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 10:46:00 +08:00
Plumb RezRestoreToWorld from the client (part done)
This commit is contained in:
@@ -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<IClientAPI> 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;
|
||||
|
||||
@@ -687,6 +687,7 @@ namespace OpenSim.Region.OptionalModules.Agent.InternetRelayClientView.Server
|
||||
public event TeleportLandmarkRequest OnTeleportLandmarkRequest;
|
||||
public event TeleportCancel OnTeleportCancel;
|
||||
public event DeRezObject OnDeRezObject;
|
||||
public event RezRestoreToWorld OnRezRestoreToWorld;
|
||||
public event Action<IClientAPI> OnRegionHandShakeReply;
|
||||
public event GenericCall1 OnRequestWearables;
|
||||
public event Action<IClientAPI, bool> OnCompleteMovementToRegion;
|
||||
|
||||
@@ -294,6 +294,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC
|
||||
public event SetAlwaysRun OnSetAlwaysRun;
|
||||
|
||||
public event DeRezObject OnDeRezObject;
|
||||
public event RezRestoreToWorld OnRezRestoreToWorld;
|
||||
public event Action<IClientAPI> OnRegionHandShakeReply;
|
||||
public event GenericCall1 OnRequestWearables;
|
||||
public event Action<IClientAPI, bool> OnCompleteMovementToRegion;
|
||||
|
||||
Reference in New Issue
Block a user