OfflineHandle

    /// <summary>
	/// 强制下线处理, 将client客户端从在线字段<see cref="Players"/>和<see cref="UIDClients"/>和<see cref="AllClients"/>字段中移除
	/// </summary>
	/// <param name="client"></param>
	public virtual void OfflineHandle(Player client)
    {
        SendDirect(client);
        RemoveClient(client);
        Debug.Log("[" + client.PlayerID + "]被强制下线...!");
    }

最后更新于

这有帮助吗?