diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 053b077..8721356 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -2229,6 +2229,21 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
2229 | newPack.Header.Zerocoded = true; | 2229 | newPack.Header.Zerocoded = true; |
2230 | OutPacket(newPack, ThrottleOutPacketType.Asset); | 2230 | OutPacket(newPack, ThrottleOutPacketType.Asset); |
2231 | } | 2231 | } |
2232 | public void SendImagePart(ushort numParts, LLUUID ImageUUID, uint ImageSize, byte[] ImageData, byte imageCodec) | ||
2233 | { | ||
2234 | ImageDataPacket im = new ImageDataPacket(); | ||
2235 | im.Header.Reliable = false; | ||
2236 | im.ImageID.Packets = numParts; | ||
2237 | im.ImageID.ID = ImageUUID; | ||
2238 | |||
2239 | if (ImageSize > 0) | ||
2240 | im.ImageID.Size = ImageSize; | ||
2241 | |||
2242 | im.ImageData.Data = ImageData; | ||
2243 | im.ImageID.Codec = imageCodec; | ||
2244 | im.Header.Zerocoded = true; | ||
2245 | OutPacket(im, ThrottleOutPacketType.Texture); | ||
2246 | } | ||
2232 | #endregion | 2247 | #endregion |
2233 | 2248 | ||
2234 | #region Estate Data Sending Methods | 2249 | #region Estate Data Sending Methods |