2016-06-08 22:29:04 +01:00
|
|
|
|
using System.IO;
|
2016-02-03 00:45:11 -05:00
|
|
|
|
|
|
|
|
|
namespace FFXIVClassic_Map_Server.packets.send.actor
|
|
|
|
|
{
|
|
|
|
|
class BattleAction1Packet
|
|
|
|
|
{
|
|
|
|
|
public const ushort OPCODE = 0x0139;
|
|
|
|
|
public const uint PACKET_SIZE = 0x58;
|
|
|
|
|
|
2016-06-15 00:08:05 +01:00
|
|
|
|
public static SubPacket BuildPacket(uint sourceId, uint targetId)
|
2016-02-03 00:45:11 -05:00
|
|
|
|
{
|
|
|
|
|
byte[] data = new byte[PACKET_SIZE - 0x20];
|
|
|
|
|
|
|
|
|
|
using (MemoryStream mem = new MemoryStream(data))
|
|
|
|
|
{
|
|
|
|
|
using (BinaryWriter binWriter = new BinaryWriter(mem))
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2016-06-15 00:08:05 +01:00
|
|
|
|
return new SubPacket(OPCODE, sourceId, targetId, data);
|
2016-02-03 00:45:11 -05:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|