mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
*Added support for prim counting on parcels
**No restrictions yet in place, or total prim count
This commit is contained in:
@@ -19,6 +19,9 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
public delegate void OnRemovePresenceDelegate(LLUUID uuid);
|
||||
public event OnRemovePresenceDelegate OnRemovePresence;
|
||||
|
||||
public delegate void OnParcelPrimCountUpdateDelegate();
|
||||
public event OnParcelPrimCountUpdateDelegate OnParcelPrimCountUpdate;
|
||||
|
||||
public void TriggerOnFrame()
|
||||
{
|
||||
if (OnFrame != null)
|
||||
@@ -48,5 +51,13 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
OnBackup(dstore);
|
||||
}
|
||||
}
|
||||
|
||||
public void TriggerParcelPrimCountUpdate()
|
||||
{
|
||||
if (OnParcelPrimCountUpdate != null)
|
||||
{
|
||||
OnParcelPrimCountUpdate();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user