diff options
author | Justin Clarke Casey | 2008-10-15 15:30:27 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-10-15 15:30:27 +0000 |
commit | 2226626fec4e8459873fdd7586c07c98401cdb5d (patch) | |
tree | cc079e70b4f12ec4796aa9a2cd26c4c461fd3e36 /OpenSim/Region/ClientStack | |
parent | * refactor: rename SendImagePart to SendImageFirstPart since this is more des... (diff) | |
download | opensim-SC_OLD-2226626fec4e8459873fdd7586c07c98401cdb5d.zip opensim-SC_OLD-2226626fec4e8459873fdd7586c07c98401cdb5d.tar.gz opensim-SC_OLD-2226626fec4e8459873fdd7586c07c98401cdb5d.tar.bz2 opensim-SC_OLD-2226626fec4e8459873fdd7586c07c98401cdb5d.tar.xz |
* refactor: move code concerned with creating a subsequent image packet to LLClientView
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 4c68fae..cb162ab 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -2619,6 +2619,17 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
2619 | im.Header.Zerocoded = true; | 2619 | im.Header.Zerocoded = true; |
2620 | OutPacket(im, ThrottleOutPacketType.Texture); | 2620 | OutPacket(im, ThrottleOutPacketType.Texture); |
2621 | } | 2621 | } |
2622 | |||
2623 | public void SendImageNextPart(ushort partNumber, UUID imageUuid, byte[] imageData) | ||
2624 | { | ||
2625 | ImagePacketPacket im = new ImagePacketPacket(); | ||
2626 | im.Header.Reliable = false; | ||
2627 | im.ImageID.Packet = partNumber; | ||
2628 | im.ImageID.ID = imageUuid; | ||
2629 | im.ImageData.Data = imageData; | ||
2630 | |||
2631 | OutPacket(im, ThrottleOutPacketType.Texture); | ||
2632 | } | ||
2622 | 2633 | ||
2623 | public void SendShutdownConnectionNotice() | 2634 | public void SendShutdownConnectionNotice() |
2624 | { | 2635 | { |