2016-06-08 22:29:04 +01:00
|
|
|
|
using System;
|
2015-12-29 01:20:46 -05:00
|
|
|
|
|
2016-08-22 10:43:04 -04:00
|
|
|
|
using FFXIVClassic.Common;
|
|
|
|
|
|
2015-12-29 01:20:46 -05:00
|
|
|
|
namespace FFXIVClassic_Map_Server.packets.send.player
|
|
|
|
|
{
|
|
|
|
|
class SetCurrentJobPacket
|
|
|
|
|
{
|
|
|
|
|
public const ushort OPCODE = 0x01A4;
|
|
|
|
|
public const uint PACKET_SIZE = 0x28;
|
|
|
|
|
|
2016-06-15 00:08:05 +01:00
|
|
|
|
public static SubPacket BuildPacket(uint sourceActorID, uint targetActorID, uint jobId)
|
2015-12-29 01:20:46 -05:00
|
|
|
|
{
|
2016-06-15 00:08:05 +01:00
|
|
|
|
return new SubPacket(OPCODE, sourceActorID, targetActorID, BitConverter.GetBytes((uint)jobId));
|
2015-12-29 01:20:46 -05:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|