mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2024-12-28 18:25:18 +00:00
59 lines
1.4 KiB
C#
59 lines
1.4 KiB
C#
using Newtonsoft.Json;
|
|
|
|
namespace QSB.Utility;
|
|
|
|
[JsonObject(MemberSerialization.OptIn)]
|
|
public class DebugSettings
|
|
{
|
|
[JsonProperty("dumpWorldObjects")]
|
|
public bool DumpWorldObjects;
|
|
|
|
[JsonProperty("instanceIdInLogs")]
|
|
public bool InstanceIdInLogs;
|
|
|
|
[JsonProperty("hookDebugLogs")]
|
|
public bool HookDebugLogs;
|
|
|
|
[JsonProperty("avoidTimeSync")]
|
|
public bool AvoidTimeSync;
|
|
|
|
[JsonProperty("autoStart")]
|
|
public bool AutoStart;
|
|
|
|
[JsonProperty("kickEveryone")]
|
|
public bool KickEveryone;
|
|
|
|
[JsonProperty("disableLoopDeath")]
|
|
public bool DisableLoopDeath;
|
|
|
|
[JsonProperty("latencySimulation")]
|
|
public int LatencySimulation;
|
|
|
|
[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("drawGhostAI")]
|
|
private bool _drawGhostAI;
|
|
public bool DrawGhostAI => DebugMode && _drawGhostAI;
|
|
|
|
[JsonProperty("greySkybox")]
|
|
private bool _greySkybox;
|
|
public bool GreySkybox => DebugMode && _greySkybox;
|
|
}
|