PacketPhase
enum
Specifies the connection phase a packet belongs to.
Declaration
public enum PacketPhase : byte
| Namespace | McProtoNet.Protocol |
| Assembly | McProtoNet.Protocol.dll |
| Source | src/McProtoNet.Protocol/Flow/PacketIdentity.cs#L6 ↗ |
Fields
| Signature | Description |
|---|---|
Handshaking = 0 | The handshaking phase. |
Status = 1 | The status phase. |
Login = 2 | The login phase. |
Configuration = 3 | The configuration phase. |
Play = 4 | The 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