quantum-space-buddies/QSB/Utility/DebugSettings.cs
Mister_Nebula da6e3d4ce3 help
2022-04-07 10:50:15 -07:00

54 lines
1.3 KiB
C#

using Newtonsoft.Json;
namespace QSB.Utility;
[JsonObject(MemberSerialization.OptIn)]
public class DebugSettings
{
[JsonProperty("useKcpTransport")]
public bool UseKcpTransport;
[JsonProperty("dumpWorldObjects")]
public bool DumpWorldObjects;
[JsonProperty("playerIdInLogs")]
public bool PlayerIdInLogs;
[JsonProperty("hookDebugLogs")]
public bool HookDebugLogs;
[JsonProperty("avoidTimeSync")]
public bool AvoidTimeSync;
[JsonProperty("debugMode")]
public bool DebugMode;
[JsonProperty("drawGui")]
private bool _drawGui;
public bool DrawGui => DebugMode && _drawGui;
[JsonProperty("drawLines")]
private bool _drawLines;
public bool DrawLines => DebugMode && _drawLines;
[JsonProperty("drawLabels")]
private bool _drawLabels;
public bool DrawLabels => DebugMode && _drawLabels;
[JsonProperty("drawQuantumVisibilityObjects")]
private bool _drawQuantumVisibilityObjects;
public bool DrawQuantumVisibilityObjects => DebugMode && _drawQuantumVisibilityObjects;
[JsonProperty("skipTitleScreen")]
private bool _skipTitleScreen;
public bool SkipTitleScreen => DebugMode && _skipTitleScreen;
[JsonProperty("greySkybox")]
private bool _greySkybox;
public bool GreySkybox => DebugMode && _greySkybox;
[JsonProperty("drawGhostAI")]
private bool _drawGhostAI;
public bool DrawGhostAI => DebugMode && _drawGhostAI;
}