diff options
author | Teravus Ovares | 2007-11-18 15:54:05 +0000 |
---|---|---|
committer | Teravus Ovares | 2007-11-18 15:54:05 +0000 |
commit | 615b40b68b2311433b855f8c1e961a8b71eb9b65 (patch) | |
tree | ce9620d6f9e59e5e841f9746d738f6a71063eae4 /OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs | |
parent | cleaned up some mono compiler warnings (diff) | |
download | opensim-SC_OLD-615b40b68b2311433b855f8c1e961a8b71eb9b65.zip opensim-SC_OLD-615b40b68b2311433b855f8c1e961a8b71eb9b65.tar.gz opensim-SC_OLD-615b40b68b2311433b855f8c1e961a8b71eb9b65.tar.bz2 opensim-SC_OLD-615b40b68b2311433b855f8c1e961a8b71eb9b65.tar.xz |
* Refactored IClientAPI.OutPacket to require a second mandatory parameter. This parameter has an enum:int ThrottleOutPacketType and contains types; Resend, Land, Wind, Cloud, Task, Texture, and Asset.
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs b/OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs index d589a7b..5753018 100644 --- a/OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs +++ b/OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs | |||
@@ -84,7 +84,7 @@ namespace OpenSim.Region.ClientStack | |||
84 | cachedresp.WearableData[i].TextureID = LLUUID.Zero; | 84 | cachedresp.WearableData[i].TextureID = LLUUID.Zero; |
85 | cachedresp.WearableData[i].HostName = new byte[0]; | 85 | cachedresp.WearableData[i].HostName = new byte[0]; |
86 | } | 86 | } |
87 | OutPacket(cachedresp); | 87 | OutPacket(cachedresp, ThrottleOutPacketType.Texture); |
88 | return true; | 88 | return true; |
89 | } | 89 | } |
90 | 90 | ||
@@ -220,7 +220,7 @@ namespace OpenSim.Region.ClientStack | |||
220 | mapReply.LayerData[0].Top = 30000; | 220 | mapReply.LayerData[0].Top = 30000; |
221 | mapReply.LayerData[0].Right = 30000; | 221 | mapReply.LayerData[0].Right = 30000; |
222 | mapReply.LayerData[0].ImageID = new LLUUID("00000000-0000-0000-9999-000000000006"); | 222 | mapReply.LayerData[0].ImageID = new LLUUID("00000000-0000-0000-9999-000000000006"); |
223 | OutPacket(mapReply); | 223 | OutPacket(mapReply, ThrottleOutPacketType.Land); |
224 | } | 224 | } |
225 | 225 | ||
226 | public void RequestMapBlocks(int minX, int minY, int maxX, int maxY) | 226 | public void RequestMapBlocks(int minX, int minY, int maxX, int maxY) |
@@ -250,7 +250,7 @@ namespace OpenSim.Region.ClientStack | |||
250 | mbReply.Data[iii].X = System.Convert.ToUInt16(mp["x"]); | 250 | mbReply.Data[iii].X = System.Convert.ToUInt16(mp["x"]); |
251 | mbReply.Data[iii].Y = System.Convert.ToUInt16(mp["y"]); | 251 | mbReply.Data[iii].Y = System.Convert.ToUInt16(mp["y"]); |
252 | } | 252 | } |
253 | this.OutPacket(mbReply); | 253 | this.OutPacket(mbReply, ThrottleOutPacketType.Land); |
254 | */ | 254 | */ |
255 | } | 255 | } |
256 | } | 256 | } |