您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

33 行
939 B

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