mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Merge branch 'avination' into careminster
This commit is contained in:
@@ -816,6 +816,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
public event ParcelPrimCountTainted OnParcelPrimCountTainted;
|
||||
public event GetScriptRunning OnGetScriptRunning;
|
||||
|
||||
public delegate void ThrottleUpdate(ScenePresence scenePresence);
|
||||
|
||||
public event ThrottleUpdate OnThrottleUpdate;
|
||||
|
||||
/// <summary>
|
||||
/// RegisterCapsEvent is called by Scene after the Caps object
|
||||
/// has been instantiated and before it is return to the
|
||||
@@ -3130,5 +3134,14 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void TriggerThrottleUpdate(ScenePresence scenePresence)
|
||||
{
|
||||
ThrottleUpdate handler = OnThrottleUpdate;
|
||||
if (handler != null)
|
||||
{
|
||||
handler(scenePresence);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user