PSO2SERVER/Server/Packets/PSOPackets/NoPayloadPacket.cs
2024-09-11 17:13:00 +08:00

34 lines
706 B
C#

using PSO2SERVER.Models;
namespace PSO2SERVER.Packets.PSOPackets
{
public class NoPayloadPacket : Packet
{
private readonly byte _subtype;
private readonly byte _type;
public NoPayloadPacket(byte type, byte subtype)
{
_type = type;
_subtype = subtype;
}
#region implemented abstract members of Packet
public override byte[] Build()
{
return new byte[0];
}
public override PacketHeader GetHeader()
{
return new PacketHeader
{
Type = _type,
Subtype = _subtype
};
}
#endregion
}
}