Перейти к основному содержимому

PacketPhase

enum

Specifies the connection phase a packet belongs to.

Declaration​

public enum PacketPhase : byte
NamespaceMcProtoNet.Protocol
AssemblyMcProtoNet.Protocol.dll
Sourcesrc/McProtoNet.Protocol/Flow/PacketIdentity.cs#L6 ↗

Fields​

SignatureDescription
Handshaking = 0The handshaking phase.
Status = 1The status phase.
Login = 2The login phase.
Configuration = 3The configuration phase.
Play = 4The play phase.

Handshaking​

Handshaking = 0

The handshaking phase.

Returns: PacketPhase

Status​

Status = 1

The status phase.

Returns: PacketPhase

Login​

Login = 2

The login phase.

Returns: PacketPhase

Configuration​

Configuration = 3

The configuration phase.

Returns: PacketPhase

Play​

Play = 4

The play phase.

Returns: PacketPhase