mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-22 04:37:47 +00:00
22 lines
616 B
C#
22 lines
616 B
C#
![]() |
using FFXIVClassic_Lobby_Server.packets;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace FFXIVClassic_Map_Server.packets.send
|
|||
|
{
|
|||
|
class SetMusicPacket
|
|||
|
{
|
|||
|
public const ushort OPCODE = 0x000C;
|
|||
|
public const uint PACKET_SIZE = 0x28;
|
|||
|
|
|||
|
public static SubPacket buildPacket(uint playerActorID, uint musicID, uint musicTrackMode)
|
|||
|
{
|
|||
|
ulong combined = musicID | (musicTrackMode << 32);
|
|||
|
return new SubPacket(OPCODE, 0, playerActorID, BitConverter.GetBytes(combined));
|
|||
|
}
|
|||
|
}
|
|||
|
}
|