diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneEvents.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneEvents.cs b/OpenSim/Region/Environment/Scenes/SceneEvents.cs index 255cbf2..eb1d5b4 100644 --- a/OpenSim/Region/Environment/Scenes/SceneEvents.cs +++ b/OpenSim/Region/Environment/Scenes/SceneEvents.cs | |||
@@ -28,6 +28,9 @@ namespace OpenSim.Region.Environment.Scenes | |||
28 | public delegate void OnScriptConsoleDelegate(string[] args); | 28 | public delegate void OnScriptConsoleDelegate(string[] args); |
29 | public event OnScriptConsoleDelegate OnScriptConsole; | 29 | public event OnScriptConsoleDelegate OnScriptConsole; |
30 | 30 | ||
31 | public delegate void OnShutdownDelegate(); | ||
32 | public event OnShutdownDelegate OnShutdown; | ||
33 | |||
31 | public void TriggerOnScriptConsole(string[] args) | 34 | public void TriggerOnScriptConsole(string[] args) |
32 | { | 35 | { |
33 | if (OnScriptConsole != null) | 36 | if (OnScriptConsole != null) |
@@ -78,5 +81,11 @@ namespace OpenSim.Region.Environment.Scenes | |||
78 | OnParcelPrimCountAdd(obj); | 81 | OnParcelPrimCountAdd(obj); |
79 | } | 82 | } |
80 | } | 83 | } |
84 | |||
85 | public void TriggerShutdown() | ||
86 | { | ||
87 | if (OnShutdown != null) | ||
88 | OnShutdown(); | ||
89 | } | ||
81 | } | 90 | } |
82 | } | 91 | } |