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 f8ebb2f..1e4b163 100644 --- a/OpenSim/Region/Environment/Scenes/SceneEvents.cs +++ b/OpenSim/Region/Environment/Scenes/SceneEvents.cs | |||
@@ -25,6 +25,15 @@ namespace OpenSim.Region.Environment.Scenes | |||
25 | public delegate void OnParcelPrimCountAddDelegate(SceneObject obj); | 25 | public delegate void OnParcelPrimCountAddDelegate(SceneObject obj); |
26 | public event OnParcelPrimCountAddDelegate OnParcelPrimCountAdd; | 26 | public event OnParcelPrimCountAddDelegate OnParcelPrimCountAdd; |
27 | 27 | ||
28 | public delegate void OnScriptConsoleDelegate(string[] args); | ||
29 | public event OnScriptConsoleDelegate OnScriptConsole; | ||
30 | |||
31 | public void TriggerOnScriptConsole(string[] args) | ||
32 | { | ||
33 | if (OnScriptConsole != null) | ||
34 | OnScriptConsole(args); | ||
35 | } | ||
36 | |||
28 | public void TriggerOnFrame() | 37 | public void TriggerOnFrame() |
29 | { | 38 | { |
30 | if (OnFrame != null) | 39 | if (OnFrame != null) |