mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 14:04:41 +02:00
Fixed music packet, no longer hard coded. Added setTarget, lockOn, and startScript packets. Console window has quieted down woo!
This commit is contained in:
parent
a4d050b3be
commit
29f030eddb
8 changed files with 161 additions and 11 deletions
|
@ -12,9 +12,9 @@ namespace FFXIVClassic_Map_Server.packets.send
|
|||
public const ushort OPCODE = 0x000C;
|
||||
public const uint PACKET_SIZE = 0x28;
|
||||
|
||||
public static SubPacket buildPacket(uint playerActorID, uint musicID, uint musicTrackMode)
|
||||
public static SubPacket buildPacket(uint playerActorID, ushort musicID, ushort musicTrackMode)
|
||||
{
|
||||
ulong combined = musicID | (musicTrackMode << 32);
|
||||
ulong combined = (ulong)(musicID | (musicTrackMode << 16));
|
||||
return new SubPacket(OPCODE, 0, playerActorID, BitConverter.GetBytes(combined));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue