aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneEvents.cs
diff options
context:
space:
mode:
authormingchen2007-07-14 15:11:36 +0000
committermingchen2007-07-14 15:11:36 +0000
commit423d03eaefcae1bcaff8e4d16da014d350c91c42 (patch)
tree1caf9a940dc856be765b7b000d4360d954b6741a /OpenSim/Region/Environment/Scenes/SceneEvents.cs
parentSet up parcel manager and the master avatar in SimpleApp. (diff)
downloadopensim-SC_OLD-423d03eaefcae1bcaff8e4d16da014d350c91c42.zip
opensim-SC_OLD-423d03eaefcae1bcaff8e4d16da014d350c91c42.tar.gz
opensim-SC_OLD-423d03eaefcae1bcaff8e4d16da014d350c91c42.tar.bz2
opensim-SC_OLD-423d03eaefcae1bcaff8e4d16da014d350c91c42.tar.xz
*Added support for prim counting on parcels
**No restrictions yet in place, or total prim count
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneEvents.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneEvents.cs11
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}