Added first set of item search packets.

This commit is contained in:
Filip Maj 2017-09-03 17:02:08 -04:00
parent 4e39b082f1
commit b5054debea
4 changed files with 98 additions and 0 deletions

View file

@ -0,0 +1,19 @@
using System.IO;
using System.Text;
using FFXIVClassic.Common;
namespace FFXIVClassic_Map_Server.packets.send.social
{
class ItemSearchResultsBeginPacket
{
public const ushort OPCODE = 0x01D7;
public const uint PACKET_SIZE = 0x028;
public static SubPacket BuildPacket(uint sourceActorId, bool isSuccess, string nameToAdd)
{
byte[] data = new byte[PACKET_SIZE - 0x20];
return new SubPacket(OPCODE, sourceActorId, data);
}
}
}