2016-06-08 22:29:04 +01:00
|
|
|
|
using System.IO;
|
2015-12-04 02:00:05 -05:00
|
|
|
|
|
2016-08-22 10:43:04 -04:00
|
|
|
|
using FFXIVClassic.Common;
|
|
|
|
|
|
|
|
|
|
namespace FFXIVClassic_Map_Server.packets.send.actor
|
2015-12-04 02:00:05 -05:00
|
|
|
|
{
|
2015-12-29 01:20:46 -05:00
|
|
|
|
class _0xFPacket
|
2015-12-04 02:00:05 -05:00
|
|
|
|
{
|
2015-12-29 01:20:46 -05:00
|
|
|
|
public const ushort OPCODE = 0x000F;
|
|
|
|
|
public const uint PACKET_SIZE = 0x38;
|
2015-12-04 02:00:05 -05:00
|
|
|
|
|
2017-06-27 13:23:05 -04:00
|
|
|
|
public static SubPacket BuildPacket(uint sourceActor)
|
2015-12-04 02:00:05 -05:00
|
|
|
|
{
|
|
|
|
|
byte[] data = new byte[PACKET_SIZE - 0x20];
|
2015-12-29 01:20:46 -05:00
|
|
|
|
|
2015-12-04 02:00:05 -05:00
|
|
|
|
using (MemoryStream mem = new MemoryStream(data))
|
|
|
|
|
{
|
|
|
|
|
using (BinaryWriter binWriter = new BinaryWriter(mem))
|
|
|
|
|
{
|
2015-12-29 01:20:46 -05:00
|
|
|
|
|
2015-12-04 02:00:05 -05:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-06-27 13:23:05 -04:00
|
|
|
|
return new SubPacket(OPCODE, sourceActor, data);
|
2015-12-04 02:00:05 -05:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|