1
0
mirror of https://github.com/misternebula/quantum-space-buddies.git synced 2025-02-23 06:40:56 +00:00

12 lines
387 B
C#
Raw Normal View History

2022-11-07 20:14:03 +00:00
using QSB.Utility;
using UnityEngine;
namespace QSB.ServerSettings;
2023-07-28 19:30:57 +01:00
public class ServerSettingsManager : MonoBehaviour, IAddComponentOnStart
2022-11-07 20:14:03 +00:00
{
2022-12-02 22:27:23 +00:00
public static bool ServerShowPlayerNames;
public static bool ShowPlayerNames => (ServerShowPlayerNames || QSBCore.IsHost) && QSBCore.ShowPlayerNames;
2023-03-03 20:05:15 +00:00
public static bool ShowExtraHUD => ShowPlayerNames && QSBCore.ShowExtraHUDElements;
2022-11-07 20:14:03 +00:00
}