mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
Merge branch 'avination' into careminster
This commit is contained in:
@@ -296,6 +296,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
public event MuteListEntryRemove OnRemoveMuteListEntry;
|
||||
public event GodlikeMessage onGodlikeMessage;
|
||||
public event GodUpdateRegionInfoUpdate OnGodUpdateRegionInfoUpdate;
|
||||
public event GenericCall2 OnUpdateThrottles;
|
||||
|
||||
#endregion Events
|
||||
|
||||
@@ -6753,6 +6754,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
#endregion
|
||||
|
||||
m_udpClient.SetThrottles(atpack.Throttle.Throttles);
|
||||
GenericCall2 handler = OnUpdateThrottles;
|
||||
if (handler != null)
|
||||
{
|
||||
handler();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -11906,6 +11912,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
public void SetChildAgentThrottle(byte[] throttles)
|
||||
{
|
||||
m_udpClient.SetThrottles(throttles);
|
||||
GenericCall2 handler = OnUpdateThrottles;
|
||||
if (handler != null)
|
||||
{
|
||||
handler();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user