Use 0x7FFFFF** for internal packet headers
This commit is contained in:
parent
442a496123
commit
e2f3128f75
|
@ -5,7 +5,7 @@ namespace TcpDotNet.Protocol.Packets.ClientBound;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents a packet which requests encryption from the client.
|
/// Represents a packet which requests encryption from the client.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Packet(0xE2)]
|
[Packet(0x7FFFFFE2)]
|
||||||
internal sealed class EncryptionRequestPacket : Packet
|
internal sealed class EncryptionRequestPacket : Packet
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -5,7 +5,7 @@ namespace TcpDotNet.Protocol.Packets.ClientBound;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents a packet which responds to a <see cref="HandshakeRequestPacket" />.
|
/// Represents a packet which responds to a <see cref="HandshakeRequestPacket" />.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Packet(0xE1)]
|
[Packet(0x7FFFFFE1)]
|
||||||
internal sealed class HandshakeResponsePacket : Packet
|
internal sealed class HandshakeResponsePacket : Packet
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
namespace TcpDotNet.Protocol.Packets.ClientBound;
|
namespace TcpDotNet.Protocol.Packets.ClientBound;
|
||||||
|
|
||||||
[Packet(0xF1)]
|
[Packet(0x7FFFFFF1)]
|
||||||
public sealed class PongPacket : Packet
|
public sealed class PongPacket : Packet
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
namespace TcpDotNet.Protocol.Packets.ClientBound;
|
namespace TcpDotNet.Protocol.Packets.ClientBound;
|
||||||
|
|
||||||
[Packet(0xE4)]
|
[Packet(0x7FFFFFE4)]
|
||||||
internal sealed class SessionExchangePacket : Packet
|
internal sealed class SessionExchangePacket : Packet
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -5,7 +5,7 @@ namespace TcpDotNet.Protocol.Packets.ServerBound;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents a packet which responds to a <see cref="EncryptionRequestPacket" />.
|
/// Represents a packet which responds to a <see cref="EncryptionRequestPacket" />.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Packet(0xE3)]
|
[Packet(0x7FFFFFE3)]
|
||||||
internal sealed class EncryptionResponsePacket : Packet
|
internal sealed class EncryptionResponsePacket : Packet
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents a packet which requests a handshake with a <see cref="ProtocolListener" />.
|
/// Represents a packet which requests a handshake with a <see cref="ProtocolListener" />.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Packet(0xE0)]
|
[Packet(0x7FFFFFE0)]
|
||||||
internal sealed class HandshakeRequestPacket : Packet
|
internal sealed class HandshakeRequestPacket : Packet
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
namespace TcpDotNet.Protocol.Packets.ServerBound;
|
namespace TcpDotNet.Protocol.Packets.ServerBound;
|
||||||
|
|
||||||
[Packet(0xF0)]
|
[Packet(0x7FFFFFF0)]
|
||||||
public sealed class PingPacket : Packet
|
public sealed class PingPacket : Packet
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue