aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
diff options
context:
space:
mode:
authorCharles Krinke2008-05-26 16:16:48 +0000
committerCharles Krinke2008-05-26 16:16:48 +0000
commited717ec181ef9946fbb5182d59e9f051ae1478ac (patch)
treef5357655e40c618338756937fecd5092fbb1c656 /OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
parentdisabling m_log again. (diff)
downloadopensim-SC_OLD-ed717ec181ef9946fbb5182d59e9f051ae1478ac.zip
opensim-SC_OLD-ed717ec181ef9946fbb5182d59e9f051ae1478ac.tar.gz
opensim-SC_OLD-ed717ec181ef9946fbb5182d59e9f051ae1478ac.tar.bz2
opensim-SC_OLD-ed717ec181ef9946fbb5182d59e9f051ae1478ac.tar.xz
Thank you kindly, Melanie for a patch for script reset
that creates the event handler chain ready to hook by script engines
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index e27a003..c9a6b84 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -254,6 +254,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
254 private UUIDNameRequest handlerUUIDGroupNameRequest = null; 254 private UUIDNameRequest handlerUUIDGroupNameRequest = null;
255 255
256 private RequestObjectPropertiesFamily handlerObjectGroupRequest = null; 256 private RequestObjectPropertiesFamily handlerObjectGroupRequest = null;
257 private ScriptReset handlerScriptReset = null;
257 258
258 /* Properties */ 259 /* Properties */
259 260
@@ -859,6 +860,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
859 public event EstateBlueBoxMessageRequest OnEstateBlueBoxMessageRequest; 860 public event EstateBlueBoxMessageRequest OnEstateBlueBoxMessageRequest;
860 public event EstateDebugRegionRequest OnEstateDebugRegionRequest; 861 public event EstateDebugRegionRequest OnEstateDebugRegionRequest;
861 public event EstateTeleportOneUserHomeRequest OnEstateTeleportOneUserHomeRequest; 862 public event EstateTeleportOneUserHomeRequest OnEstateTeleportOneUserHomeRequest;
863 public event ScriptReset OnScriptReset;
862 864
863 #region Scene/Avatar to Client 865 #region Scene/Avatar to Client
864 866
@@ -5797,6 +5799,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP
5797 // TODO: Perhaps this should be processed on the Sim to determine whether or not to drop a dead client 5799 // TODO: Perhaps this should be processed on the Sim to determine whether or not to drop a dead client
5798 //m_log.Warn("[CLIENT]: unhandled CompletePingCheck packet"); 5800 //m_log.Warn("[CLIENT]: unhandled CompletePingCheck packet");
5799 break; 5801 break;
5802 case PacketType.ScriptReset:
5803 ScriptResetPacket scriptResetPacket = (ScriptResetPacket)Pack;
5804 handlerScriptReset = OnScriptReset;
5805 if (handlerScriptReset != null)
5806 {
5807 handlerScriptReset(this, scriptResetPacket.Script.ObjectID, scriptResetPacket.Script.ItemID);
5808 }
5809 break;
5800 case PacketType.ViewerStats: 5810 case PacketType.ViewerStats:
5801 // TODO: handle this packet 5811 // TODO: handle this packet
5802 m_log.Warn("[CLIENT]: unhandled ViewerStats packet"); 5812 m_log.Warn("[CLIENT]: unhandled ViewerStats packet");