Pipe Throttle Update Event to EventManager, client --> ScenePresence --> EventManager, so that modules can know when throttles are updated. The event contains no client specific data to preserve the possibility of 'multiple clients' and you must still call ControllingClient.GetThrottlesPacked(f) to see what the throttles actually are once the event fires. Hook EventManager.OnUpdateThrottle to GetTextureModule.

This commit is contained in:
teravus
2012-11-04 22:57:24 -05:00
parent 08b37efc32
commit 4fa088bafb
8 changed files with 75 additions and 3 deletions

View File

@@ -1038,7 +1038,7 @@ namespace OpenSim.Framework
event MuteListEntryRemove OnRemoveMuteListEntry;
event GodlikeMessage onGodlikeMessage;
event GodUpdateRegionInfoUpdate OnGodUpdateRegionInfoUpdate;
event GenericCall2 OnUpdateThrottles;
/// <summary>
/// Set the debug level at which packet output should be printed to console.
/// </summary>