diff options
author | UbitUmarov | 2014-08-29 16:19:30 +0100 |
---|---|---|
committer | UbitUmarov | 2014-08-29 16:19:30 +0100 |
commit | 7351d92a76ac24edce848fe7410e920f17962101 (patch) | |
tree | d415c604bc0184caca3efc666a7de54862bd7c64 /OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |
parent | reduce burst (diff) | |
download | opensim-SC_OLD-7351d92a76ac24edce848fe7410e920f17962101.zip opensim-SC_OLD-7351d92a76ac24edce848fe7410e920f17962101.tar.gz opensim-SC_OLD-7351d92a76ac24edce848fe7410e920f17962101.tar.bz2 opensim-SC_OLD-7351d92a76ac24edce848fe7410e920f17962101.tar.xz |
add method to get a category throttle rate
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 7227964..12ee3b2 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -12306,16 +12306,18 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
12306 | } | 12306 | } |
12307 | 12307 | ||
12308 | /// <summary> | 12308 | /// <summary> |
12309 | /// Sets the throttles from values supplied by the client | 12309 | /// Sets the throttles from values supplied caller |
12310 | /// </summary> | 12310 | /// </summary> |
12311 | /// <param name="throttles"></param> | 12311 | /// <param name="throttles"></param> |
12312 | public void SetAgentThrottleSilent(int throttle, int setting) | 12312 | public void SetAgentThrottleSilent(int throttle, int setting) |
12313 | { | 12313 | { |
12314 | m_udpClient.ForceThrottleSetting(throttle,setting); | 12314 | m_udpClient.ForceThrottleSetting(throttle,setting); |
12315 | //m_udpClient.SetThrottles(throttles); | ||
12316 | |||
12317 | } | 12315 | } |
12318 | 12316 | ||
12317 | public int GetAgentThrottleSilent(int throttle) | ||
12318 | { | ||
12319 | return m_udpClient.GetThrottleSetting(throttle); | ||
12320 | } | ||
12319 | 12321 | ||
12320 | /// <summary> | 12322 | /// <summary> |
12321 | /// Get the current throttles for this client as a packed byte array | 12323 | /// Get the current throttles for this client as a packed byte array |