mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
54 lines
1.3 KiB
C#
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;
|
|
}
|