aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP
diff options
context:
space:
mode:
authorTeravus Ovares2008-05-10 12:01:36 +0000
committerTeravus Ovares2008-05-10 12:01:36 +0000
commit536a92ca84d510b96595a48df74c61eab6f96749 (patch)
tree2f569d91e112dec96de3f5273541e6d097fcaa9c /OpenSim/Region/ClientStack/LindenUDP
parent* Experiment in Zerocoding. (diff)
downloadopensim-SC_OLD-536a92ca84d510b96595a48df74c61eab6f96749.zip
opensim-SC_OLD-536a92ca84d510b96595a48df74c61eab6f96749.tar.gz
opensim-SC_OLD-536a92ca84d510b96595a48df74c61eab6f96749.tar.bz2
opensim-SC_OLD-536a92ca84d510b96595a48df74c61eab6f96749.tar.xz
Refactored out a few warnings related to Adam's bane OutPacket
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs28
1 files changed, 28 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index 2dac62d..053b077 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -2200,7 +2200,35 @@ namespace OpenSim.Region.ClientStack.LindenUDP
2200 terse.Header.Zerocoded = true; 2200 terse.Header.Zerocoded = true;
2201 OutPacket(terse, ThrottleOutPacketType.Task); 2201 OutPacket(terse, ThrottleOutPacketType.Task);
2202 } 2202 }
2203 public void SendAssetUploadCompleteMessage(sbyte AssetType, bool Success, LLUUID AssetFullID)
2204 {
2205 AssetUploadCompletePacket newPack = new AssetUploadCompletePacket();
2206 newPack.AssetBlock.Type = AssetType;
2207 newPack.AssetBlock.Success = Success;
2208 newPack.AssetBlock.UUID = AssetFullID;
2209 newPack.Header.Zerocoded = true;
2210 OutPacket(newPack, ThrottleOutPacketType.Asset);
2211 }
2212 public void SendXferRequest(ulong XferID, short AssetType, LLUUID vFileID, byte FilePath, byte[] FileName)
2213 {
2214 RequestXferPacket newPack = new RequestXferPacket();
2215 newPack.XferID.ID = XferID;
2216 newPack.XferID.VFileType = AssetType;
2217 newPack.XferID.VFileID = vFileID;
2218 newPack.XferID.FilePath = FilePath;
2219 newPack.XferID.Filename = FileName;
2220 newPack.Header.Zerocoded = true;
2221 OutPacket(newPack, ThrottleOutPacketType.Asset);
2203 2222
2223 }
2224 public void SendConfirmXfer(ulong xferID, uint PacketID)
2225 {
2226 ConfirmXferPacketPacket newPack = new ConfirmXferPacketPacket();
2227 newPack.XferID.ID = xferID;
2228 newPack.XferID.Packet = PacketID;
2229 newPack.Header.Zerocoded = true;
2230 OutPacket(newPack, ThrottleOutPacketType.Asset);
2231 }
2204 #endregion 2232 #endregion
2205 2233
2206 #region Estate Data Sending Methods 2234 #region Estate Data Sending Methods