diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneEvents.cs')
-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 deecfd5..685ed8c 100644 --- a/OpenSim/Region/Environment/Scenes/SceneEvents.cs +++ b/OpenSim/Region/Environment/Scenes/SceneEvents.cs | |||
@@ -19,6 +19,9 @@ namespace OpenSim.Region.Environment.Scenes | |||
19 | public delegate void OnRemovePresenceDelegate(LLUUID uuid); | 19 | public delegate void OnRemovePresenceDelegate(LLUUID uuid); |
20 | public event OnRemovePresenceDelegate OnRemovePresence; | 20 | public event OnRemovePresenceDelegate OnRemovePresence; |
21 | 21 | ||
22 | public delegate void OnParcelPrimCountUpdateDelegate(); | ||
23 | public event OnParcelPrimCountUpdateDelegate OnParcelPrimCountUpdate; | ||
24 | |||
22 | public void TriggerOnFrame() | 25 | public void TriggerOnFrame() |
23 | { | 26 | { |
24 | if (OnFrame != null) | 27 | if (OnFrame != null) |
@@ -48,5 +51,13 @@ namespace OpenSim.Region.Environment.Scenes | |||
48 | OnBackup(dstore); | 51 | OnBackup(dstore); |
49 | } | 52 | } |
50 | } | 53 | } |
54 | |||
55 | public void TriggerParcelPrimCountUpdate() | ||
56 | { | ||
57 | if (OnParcelPrimCountUpdate != null) | ||
58 | { | ||
59 | OnParcelPrimCountUpdate(); | ||
60 | } | ||
61 | } | ||
51 | } | 62 | } |
52 | } | 63 | } |