2016-06-08 22:29:04 +01:00
|
|
|
|
using System;
|
2015-10-11 14:57:24 -04:00
|
|
|
|
|
2015-10-12 00:42:28 -04:00
|
|
|
|
namespace FFXIVClassic_Map_Server.packets.send.player
|
2015-10-11 14:57:24 -04:00
|
|
|
|
{
|
2015-10-12 00:42:28 -04:00
|
|
|
|
class SetAchievementPointsPacket
|
2015-10-11 14:57:24 -04:00
|
|
|
|
{
|
2015-10-12 00:42:28 -04:00
|
|
|
|
public const ushort OPCODE = 0x019C;
|
2015-10-11 14:57:24 -04:00
|
|
|
|
public const uint PACKET_SIZE = 0x28;
|
2015-10-12 00:42:28 -04:00
|
|
|
|
|
2016-06-14 21:29:10 +01:00
|
|
|
|
public static SubPacket BuildPacket(uint playerActorID, uint numAchievementPoints)
|
2015-10-11 14:57:24 -04:00
|
|
|
|
{
|
2015-10-12 00:42:28 -04:00
|
|
|
|
return new SubPacket(OPCODE, playerActorID, playerActorID, BitConverter.GetBytes((UInt64) numAchievementPoints));
|
2015-10-11 14:57:24 -04:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|