mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 19:10:32 +00:00
0e95016e95
* Change Lobby to Room with Obsoletes * Changed folder from Lobby to Room * Updated docs * reverted leftover debu.log line * Fixed OfflineGUI * Changed the obsolete classes to inherit from the new ones. * Fixed SyncVar hook
23 lines
1.4 KiB
C#
23 lines
1.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using UnityEngine;
|
|
using UnityEngine.SceneManagement;
|
|
using UnityEngine.Serialization;
|
|
|
|
namespace Mirror
|
|
{
|
|
/// <summary>
|
|
/// This is a specialized NetworkManager that includes a networked lobby.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>The lobby has slots that track the joined players, and a maximum player count that is enforced. It requires that the NetworkLobbyPlayer component be on the lobby player objects.</para>
|
|
/// <para>NetworkLobbyManager is derived from NetworkManager, and so it implements many of the virtual functions provided by the NetworkManager class. To avoid accidentally replacing functionality of the NetworkLobbyManager, there are new virtual functions on the NetworkLobbyManager that begin with "OnLobby". These should be used on classes derived from NetworkLobbyManager instead of the virtual functions on NetworkManager.</para>
|
|
/// <para>The OnLobby*() functions have empty implementations on the NetworkLobbyManager base class, so the base class functions do not have to be called.</para>
|
|
/// </remarks>
|
|
[AddComponentMenu("Network/NetworkLobbyManager")]
|
|
[HelpURL("https://mirror-networking.com/xmldocs/articles/Components/NetworkRoomManager.html")]
|
|
[Obsolete("Use / inherit from NetworkRoomManager instead")]
|
|
public class NetworkLobbyManager : NetworkRoomManager { }
|
|
}
|