diff options
author | Tom Grimshaw | 2010-06-25 14:39:15 -0700 |
---|---|---|
committer | Tom Grimshaw | 2010-06-25 14:39:15 -0700 |
commit | f64d1cb3967b5352921b296348f618a62fdfa622 (patch) | |
tree | 1e4bb04257473a7abfe5fad742757f4e48d2875b /OpenSim/Region/Framework/Scenes/SceneGraph.cs | |
parent | Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/ca... (diff) | |
download | opensim-SC-f64d1cb3967b5352921b296348f618a62fdfa622.zip opensim-SC-f64d1cb3967b5352921b296348f618a62fdfa622.tar.gz opensim-SC-f64d1cb3967b5352921b296348f618a62fdfa622.tar.bz2 opensim-SC-f64d1cb3967b5352921b296348f618a62fdfa622.tar.xz |
Add new event: OnChangedBackup
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneGraph.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneGraph.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index ce7b0eb..81ef54f 100644 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs | |||
@@ -47,6 +47,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
47 | 47 | ||
48 | public delegate void DetachFromBackupDelegate(SceneObjectGroup sog); | 48 | public delegate void DetachFromBackupDelegate(SceneObjectGroup sog); |
49 | 49 | ||
50 | public delegate void ChangedBackupDelegate(SceneObjectGroup sog); | ||
51 | |||
50 | public delegate void ObjectCreateDelegate(EntityBase obj); | 52 | public delegate void ObjectCreateDelegate(EntityBase obj); |
51 | 53 | ||
52 | public delegate void ObjectDeleteDelegate(EntityBase obj); | 54 | public delegate void ObjectDeleteDelegate(EntityBase obj); |
@@ -67,6 +69,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
67 | public event ObjectDuplicateDelegate OnObjectDuplicate; | 69 | public event ObjectDuplicateDelegate OnObjectDuplicate; |
68 | public event AttachToBackupDelegate OnAttachToBackup; | 70 | public event AttachToBackupDelegate OnAttachToBackup; |
69 | public event DetachFromBackupDelegate OnDetachFromBackup; | 71 | public event DetachFromBackupDelegate OnDetachFromBackup; |
72 | public event ChangedBackupDelegate OnChangeBackup; | ||
70 | public event ObjectCreateDelegate OnObjectCreate; | 73 | public event ObjectCreateDelegate OnObjectCreate; |
71 | public event ObjectDeleteDelegate OnObjectRemove; | 74 | public event ObjectDeleteDelegate OnObjectRemove; |
72 | 75 | ||
@@ -484,6 +487,14 @@ namespace OpenSim.Region.Framework.Scenes | |||
484 | } | 487 | } |
485 | } | 488 | } |
486 | 489 | ||
490 | public void FireChangeBackup(SceneObjectGroup obj) | ||
491 | { | ||
492 | if (OnChangeBackup != null) | ||
493 | { | ||
494 | OnChangeBackup(obj); | ||
495 | } | ||
496 | } | ||
497 | |||
487 | /// <summary> | 498 | /// <summary> |
488 | /// Process all pending updates | 499 | /// Process all pending updates |
489 | /// </summary> | 500 | /// </summary> |