mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-22 04:37:47 +00:00
23 lines
608 B
C#
23 lines
608 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 _0xE2Packet
|
|||
|
{
|
|||
|
public const ushort OPCODE = 0x00E2;
|
|||
|
public const uint PACKET_SIZE = 0x28;
|
|||
|
|
|||
|
public static SubPacket buildPacket(uint playerActorID, int val)
|
|||
|
{
|
|||
|
byte[] data = new byte[PACKET_SIZE - 0x20];
|
|||
|
data[0] = (Byte) (val & 0xFF);
|
|||
|
return new SubPacket(OPCODE, playerActorID, playerActorID, data);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|