diff options
author | Melanie Thielker | 2016-03-09 02:52:45 +0100 |
---|---|---|
committer | Melanie Thielker | 2016-03-09 02:52:45 +0100 |
commit | 1697f3e0c21bf4dfe76157078eb4a5c3dc1b71a7 (patch) | |
tree | afc8c1802dd1bd58f6557a874aebdaffae8a5fb9 | |
parent | Plumb RezRestoreToWorld from the client (part done) (diff) | |
download | opensim-SC-1697f3e0c21bf4dfe76157078eb4a5c3dc1b71a7.zip opensim-SC-1697f3e0c21bf4dfe76157078eb4a5c3dc1b71a7.tar.gz opensim-SC-1697f3e0c21bf4dfe76157078eb4a5c3dc1b71a7.tar.bz2 opensim-SC-1697f3e0c21bf4dfe76157078eb4a5c3dc1b71a7.tar.xz |
Finish plumbing RezRestoreToWorld.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 36d16eb..e9eebb1 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -6588,7 +6588,22 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
6588 | 6588 | ||
6589 | private bool HandlerRezRestoreToWorld(IClientAPI sender, Packet Pack) | 6589 | private bool HandlerRezRestoreToWorld(IClientAPI sender, Packet Pack) |
6590 | { | 6590 | { |
6591 | return false; | 6591 | RezRestoreToWorldPacket restore = (RezRestoreToWorldPacket)Pack; |
6592 | |||
6593 | #region Packet Session and User Check | ||
6594 | if (m_checkPackets) | ||
6595 | { | ||
6596 | if (restore.AgentData.SessionID != SessionId || | ||
6597 | restore.AgentData.AgentID != AgentId) | ||
6598 | return true; | ||
6599 | } | ||
6600 | #endregion | ||
6601 | |||
6602 | RezRestoreToWorld handlerRezRestoreToWorld = OnRezRestoreToWorld; | ||
6603 | if (handlerRezRestoreToWorld != null) | ||
6604 | handlerRezRestoreToWorld(this, restore.InventoryData.ItemID); | ||
6605 | |||
6606 | return true; | ||
6592 | } | 6607 | } |
6593 | 6608 | ||
6594 | private bool HandlerModifyLand(IClientAPI sender, Packet Pack) | 6609 | private bool HandlerModifyLand(IClientAPI sender, Packet Pack) |