Document it in development.md, move it up since "everything below debug mode is only active when it is blah blah"

This commit is contained in:
Nick 2024-02-23 00:14:13 -05:00
parent 147fb01e2b
commit 3d30756aa6
2 changed files with 8 additions and 6 deletions

View File

@ -76,6 +76,7 @@ The template for this file is this :
"autoStart": false, "autoStart": false,
"kickEveryone": false, "kickEveryone": false,
"disableLoopDeath": false, "disableLoopDeath": false,
"timeout": 25,
"debugMode": false, "debugMode": false,
"drawGui": false, "drawGui": false,
"drawLines": false, "drawLines": false,
@ -91,6 +92,7 @@ The template for this file is this :
- autoStart - Host/connect automatically for faster testing. - autoStart - Host/connect automatically for faster testing.
- kickEveryone - Kick anyone who joins a game. - kickEveryone - Kick anyone who joins a game.
- disableLoopDeath - Make it so the loop doesn't end when everyone is dead. - disableLoopDeath - Make it so the loop doesn't end when everyone is dead.
- timeout - How many seconds for your connection to timeout, in seconds.
- debugMode - Enables debug mode. If this is set to `false`, none of the following settings do anything. - debugMode - Enables debug mode. If this is set to `false`, none of the following settings do anything.
- drawGui - Draws a GUI at the top of the screen that gives information on many things. - drawGui - Draws a GUI at the top of the screen that gives information on many things.
- drawLines - Draws gizmo-esque lines around things. Indicates reference sectors/transforms, triggers, etc. LAGGY. - drawLines - Draws gizmo-esque lines around things. Indicates reference sectors/transforms, triggers, etc. LAGGY.

View File

@ -32,6 +32,12 @@ public class DebugSettings
[JsonProperty("randomizeSkins")] [JsonProperty("randomizeSkins")]
public bool RandomizeSkins; public bool RandomizeSkins;
/// <summary>
/// Timeout in seconds
/// </summary>
[JsonProperty("timeout")]
public int Timeout = 25;
[JsonProperty("debugMode")] [JsonProperty("debugMode")]
public bool DebugMode; public bool DebugMode;
@ -54,10 +60,4 @@ public class DebugSettings
[JsonProperty("greySkybox")] [JsonProperty("greySkybox")]
private bool _greySkybox; private bool _greySkybox;
public bool GreySkybox => DebugMode && _greySkybox; public bool GreySkybox => DebugMode && _greySkybox;
/// <summary>
/// Timeout in seconds
/// </summary>
[JsonProperty("timeout")]
public int Timeout = 25;
} }