diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneEvents.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneEvents.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneEvents.cs b/OpenSim/Region/Environment/Scenes/SceneEvents.cs index 685ed8c..46768d5 100644 --- a/OpenSim/Region/Environment/Scenes/SceneEvents.cs +++ b/OpenSim/Region/Environment/Scenes/SceneEvents.cs | |||
@@ -19,9 +19,15 @@ 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 OnParcelPrimCountTaintedDelegate(); | ||
23 | public event OnParcelPrimCountTaintedDelegate OnParcelPrimCountTainted; | ||
24 | |||
22 | public delegate void OnParcelPrimCountUpdateDelegate(); | 25 | public delegate void OnParcelPrimCountUpdateDelegate(); |
23 | public event OnParcelPrimCountUpdateDelegate OnParcelPrimCountUpdate; | 26 | public event OnParcelPrimCountUpdateDelegate OnParcelPrimCountUpdate; |
24 | 27 | ||
28 | public delegate void OnParcelPrimCountAddDelegate(SceneObject obj); | ||
29 | public event OnParcelPrimCountAddDelegate OnParcelPrimCountAdd; | ||
30 | |||
25 | public void TriggerOnFrame() | 31 | public void TriggerOnFrame() |
26 | { | 32 | { |
27 | if (OnFrame != null) | 33 | if (OnFrame != null) |
@@ -52,6 +58,13 @@ namespace OpenSim.Region.Environment.Scenes | |||
52 | } | 58 | } |
53 | } | 59 | } |
54 | 60 | ||
61 | public void TriggerParcelPrimCountTainted() | ||
62 | { | ||
63 | if (OnParcelPrimCountTainted != null) | ||
64 | { | ||
65 | OnParcelPrimCountTainted(); | ||
66 | } | ||
67 | } | ||
55 | public void TriggerParcelPrimCountUpdate() | 68 | public void TriggerParcelPrimCountUpdate() |
56 | { | 69 | { |
57 | if (OnParcelPrimCountUpdate != null) | 70 | if (OnParcelPrimCountUpdate != null) |
@@ -59,5 +72,12 @@ namespace OpenSim.Region.Environment.Scenes | |||
59 | OnParcelPrimCountUpdate(); | 72 | OnParcelPrimCountUpdate(); |
60 | } | 73 | } |
61 | } | 74 | } |
75 | public void TriggerParcelPrimCountAdd(SceneObject obj) | ||
76 | { | ||
77 | if (OnParcelPrimCountAdd != null) | ||
78 | { | ||
79 | OnParcelPrimCountAdd(obj); | ||
80 | } | ||
81 | } | ||
62 | } | 82 | } |
63 | } | 83 | } |