diff options
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 10 |
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"); |