Files
libremetaverse/old/libsecondlife-cs/Packets/ImagePackets.cs
John Hurliman 2cf03f4257 Moving the trunk to the directory "old"
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@276 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-14 04:10:33 +00:00

33 lines
754 B
C#

using System;
using System.Collections;
using libsecondlife;
namespace libsecondlife.Packets
{
/// <summary>
/// Summary description for ImagePackets.
/// </summary>
public class ImagePackets
{
private ImagePackets() { }
public static Packet RequestImage(ProtocolManager protocol, LLUUID imageID)
{
Hashtable blocks = new Hashtable();
Hashtable fields = new Hashtable();
fields["DownloadPriority"] = (float)1215000.0;
fields["DiscardLevel"] = (int)0;
fields["Packet"] = (uint)0;
fields["Image"] = imageID;
blocks[fields] = "RequestImage";
return PacketBuilder.BuildPacket("RequestImage", protocol, blocks, Helpers.MSG_RELIABLE | Helpers.MSG_ZEROCODED);
}
}
}