diff options
author | Adam Frisby | 2007-07-13 19:27:15 +0000 |
---|---|---|
committer | Adam Frisby | 2007-07-13 19:27:15 +0000 |
commit | 985e0b765aca8cff5982c30935a2412e4537bb55 (patch) | |
tree | 3feeb0752d8e1d1fecfde84de5f99e80d9d31ffc /OpenSim/Region/Environment/Scenes | |
parent | first draft sql definition for prims based on PrimData (diff) | |
download | opensim-SC_OLD-985e0b765aca8cff5982c30935a2412e4537bb55.zip opensim-SC_OLD-985e0b765aca8cff5982c30935a2412e4537bb55.tar.gz opensim-SC_OLD-985e0b765aca8cff5982c30935a2412e4537bb55.tar.bz2 opensim-SC_OLD-985e0b765aca8cff5982c30935a2412e4537bb55.tar.xz |
* Obsoleted ILocalStorage
* Added IRegionDataStore
* Added OnBackup event to EventManager
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneEvents.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneEvents.cs b/OpenSim/Region/Environment/Scenes/SceneEvents.cs index cfe3e01..deecfd5 100644 --- a/OpenSim/Region/Environment/Scenes/SceneEvents.cs +++ b/OpenSim/Region/Environment/Scenes/SceneEvents.cs | |||
@@ -10,6 +10,9 @@ namespace OpenSim.Region.Environment.Scenes | |||
10 | public delegate void OnFrameDelegate(); | 10 | public delegate void OnFrameDelegate(); |
11 | public event OnFrameDelegate OnFrame; | 11 | public event OnFrameDelegate OnFrame; |
12 | 12 | ||
13 | public delegate void OnBackupDelegate(Interfaces.IRegionDataStore datastore); | ||
14 | public event OnBackupDelegate OnBackup; | ||
15 | |||
13 | public delegate void OnNewPresenceDelegate(ScenePresence presence); | 16 | public delegate void OnNewPresenceDelegate(ScenePresence presence); |
14 | public event OnNewPresenceDelegate OnNewPresence; | 17 | public event OnNewPresenceDelegate OnNewPresence; |
15 | 18 | ||
@@ -37,5 +40,13 @@ namespace OpenSim.Region.Environment.Scenes | |||
37 | OnRemovePresence(uuid); | 40 | OnRemovePresence(uuid); |
38 | } | 41 | } |
39 | } | 42 | } |
43 | |||
44 | public void TriggerOnBackup(Interfaces.IRegionDataStore dstore) | ||
45 | { | ||
46 | if (OnBackup != null) | ||
47 | { | ||
48 | OnBackup(dstore); | ||
49 | } | ||
50 | } | ||
40 | } | 51 | } |
41 | } | 52 | } |