aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneEvents.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-02-05 05:26:18 +0000
committerTeravus Ovares2008-02-05 05:26:18 +0000
commitca5aadfbff63e03b7ca081e753204d8da040c9bb (patch)
treee2d19e01678c27cff57bc26257cec7385c3df274 /OpenSim/Region/Environment/Scenes/SceneEvents.cs
parentAdded copyright statements. (diff)
downloadopensim-SC_OLD-ca5aadfbff63e03b7ca081e753204d8da040c9bb.zip
opensim-SC_OLD-ca5aadfbff63e03b7ca081e753204d8da040c9bb.tar.gz
opensim-SC_OLD-ca5aadfbff63e03b7ca081e753204d8da040c9bb.tar.bz2
opensim-SC_OLD-ca5aadfbff63e03b7ca081e753204d8da040c9bb.tar.xz
* Refactored the sound calls to SceneObjectPart
* Fixed a few bugs * Wrote an example module to make certain event systems more mature.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneEvents.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneEvents.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneEvents.cs b/OpenSim/Region/Environment/Scenes/SceneEvents.cs
index 51d1b32..cada991 100644
--- a/OpenSim/Region/Environment/Scenes/SceneEvents.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneEvents.cs
@@ -125,6 +125,10 @@ namespace OpenSim.Region.Environment.Scenes
125 125
126 public event NewGridInstantMessage OnGridInstantMessageToGroupsModule; 126 public event NewGridInstantMessage OnGridInstantMessageToGroupsModule;
127 127
128 public delegate void ClientClosed(LLUUID clientID);
129
130 public event ClientClosed OnClientClosed;
131
128 public delegate void ScriptChangedEvent(uint localID, uint change); 132 public delegate void ScriptChangedEvent(uint localID, uint change);
129 133
130 public event ScriptChangedEvent OnScriptChangedEvent; 134 public event ScriptChangedEvent OnScriptChangedEvent;
@@ -338,6 +342,14 @@ namespace OpenSim.Region.Environment.Scenes
338 342
339 } 343 }
340 } 344 }
345
346 public void TriggerClientClosed(LLUUID ClientID)
347 {
348 if (OnClientClosed != null)
349 {
350 OnClientClosed(ClientID);
351 }
352 }
341 353
342 } 354 }
343} \ No newline at end of file 355} \ No newline at end of file