From 09e1e31e7948d647761d2e4590e39dfdcecf15ca Mon Sep 17 00:00:00 2001 From: Filip Maj Date: Mon, 12 Dec 2016 10:11:27 -0500 Subject: [PATCH] Added packet 0xda --- .../send/Actor/PlayAnimationOnActorPacket.cs | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 FFXIVClassic Map Server/packets/send/Actor/PlayAnimationOnActorPacket.cs diff --git a/FFXIVClassic Map Server/packets/send/Actor/PlayAnimationOnActorPacket.cs b/FFXIVClassic Map Server/packets/send/Actor/PlayAnimationOnActorPacket.cs new file mode 100644 index 00000000..c186e0d9 --- /dev/null +++ b/FFXIVClassic Map Server/packets/send/Actor/PlayAnimationOnActorPacket.cs @@ -0,0 +1,20 @@ +using FFXIVClassic.Common; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace FFXIVClassic_Map_Server.packets.send.actor +{ + class PlayAnimationOnActorPacket + { + public const ushort OPCODE = 0x00DA; + public const uint PACKET_SIZE = 0x28; + + public static SubPacket BuildPacket(uint playerActorID, uint targetActorID, uint animationID) + { + return new SubPacket(OPCODE, playerActorID, targetActorID, BitConverter.GetBytes((ulong)animationID)); + } + } +}