mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-04 02:47:22 +00:00
12 lines
387 B
C#
12 lines
387 B
C#
using QSB.Utility;
|
|
using UnityEngine;
|
|
|
|
namespace QSB.ServerSettings;
|
|
|
|
public class ServerSettingsManager : MonoBehaviour, IAddComponentOnStart
|
|
{
|
|
public static bool ServerShowPlayerNames;
|
|
public static bool ShowPlayerNames => (ServerShowPlayerNames || QSBCore.IsHost) && QSBCore.ShowPlayerNames;
|
|
public static bool ShowExtraHUD => ShowPlayerNames && QSBCore.ShowExtraHUDElements;
|
|
}
|