-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathLoadConfig.cs
More file actions
21 lines (16 loc) · 637 Bytes
/
LoadConfig.cs
File metadata and controls
21 lines (16 loc) · 637 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System.ComponentModel;
using Terraria.ModLoader.Config;
namespace tConfigWrapper {
public class LoadConfig : ModConfig {
public override ConfigScope Mode => ConfigScope.ClientSide;
[DefaultValue(false)]
[Label("Send logs when you encounter an error during mod loading.")]
[Tooltip("Please leave this enabled as it helps the developers resolve bugs quicker.")]
public bool SendConfig { get; set; }
[DefaultValue(3)]
[Label("The number of threads used when decompressing mods.")]
[Tooltip("Don't touch this unless you know what you are doing.")]
[Range(1, 10)]
public int NumThreads { get; set; }
}
}