namespace Minecraft.Server.FourKit.Entity;
// eh
///
/// Enum representing the reason a player was disconnected from the server.
/// mirrored from DisconnectPacket::eDisconnectReason.
///
public enum DisconnectReason
{
/// No specific reason.
NONE = 0,
/// The player quit voluntarily.
QUITTING = 1,
/// The connection was closed.
CLOSED = 2,
/// The login took too long.
LOGIN_TOO_LONG = 3,
/// The player had an illegal stance.
ILLEGAL_STANCE = 4,
/// The player had an illegal position.
ILLEGAL_POSITION = 5,
/// The player moved too quickly.
MOVED_TOO_QUICKLY = 6,
/// The player was flying when not allowed.
NO_FLYING = 7,
/// The player was kicked by an operator or plugin.
KICKED = 8,
/// The connection timed out.
TIME_OUT = 9,
/// Packet overflow.
OVERFLOW = 10,
/// End of stream reached unexpectedly.
END_OF_STREAM = 11,
/// The server is full.
SERVER_FULL = 12,
/// The server is outdated.
OUTDATED_SERVER = 13,
/// The client is outdated.
OUTDATED_CLIENT = 14,
/// An unexpected packet was received.
UNEXPECTED_PACKET = 15,
/// Connection creation failed.
CONNECTION_CREATION_FAILED = 16,
/// The host does not have multiplayer privileges.
NO_MULTIPLAYER_PRIVILEGES_HOST = 17,
/// The joining player does not have multiplayer privileges.
NO_MULTIPLAYER_PRIVILEGES_JOIN = 18,
/// All local players lack UGC permissions.
NO_UGC_ALL_LOCAL = 19,
/// A single local player lacks UGC permissions.
NO_UGC_SINGLE_LOCAL = 20,
/// All local players have content restrictions.
CONTENT_RESTRICTED_ALL_LOCAL = 21,
/// A single local player has content restrictions.
CONTENT_RESTRICTED_SINGLE_LOCAL = 22,
/// A remote player lacks UGC permissions.
NO_UGC_REMOTE = 23,
/// No friends in the game.
NO_FRIENDS_IN_GAME = 24,
/// The player was banned.
BANNED = 25,
/// The player is not friends with the host.
NOT_FRIENDS_WITH_HOST = 26,
/// NAT type mismatch.
NAT_MISMATCH = 27,
}