namespace Unity.Netcode
{
///
/// A class representing a client that is currently in the process of connecting
///
public class PendingClient
{
///
/// The ClientId of the client
///
public ulong ClientId { get; internal set; }
///
/// The state of the connection process for the client
///
public State ConnectionState { get; internal set; }
///
/// The states of a connection
///
public enum State
{
///
/// Waiting for client to send it's initial connection request
///
PendingConnection,
///
/// Waiting for client connection request to be approved
///
PendingApproval
}
}
}