mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
further encapsulation of function in PacketQueue and PacketThrottle
This commit is contained in:
@@ -89,7 +89,16 @@ namespace OpenSim.Region.ClientStack
|
||||
public int Throttle
|
||||
{
|
||||
get {return throttle;}
|
||||
set {throttle = value;}
|
||||
set
|
||||
{
|
||||
if (value > max) {
|
||||
throttle = max;
|
||||
} else if (value < min) {
|
||||
throttle = min;
|
||||
} else {
|
||||
throttle = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user