-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConfig.cs
More file actions
46 lines (37 loc) · 1.39 KB
/
Copy pathConfig.cs
File metadata and controls
46 lines (37 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
using p5rpc.flowscriptframework.Template.Configuration;
using System.ComponentModel;
namespace p5rpc.flowscriptframework.Configuration;
public class Config : Configurable<Config>
{
/*
User Properties:
- Please put all of your configurable properties here.
By default, configuration saves as "Config.json" in mod user config folder.
Need more config files/classes? See Configuration.cs
Available Attributes:
- Category
- DisplayName
- Description
- DefaultValue
// Technically Supported but not Useful
- Browsable
- Localizable
The `DefaultValue` attribute is used as part of the `Reset` button in Reloaded-Launcher.
*/
[DisplayName("Debug")]
[Description("Enables Debug Printing")]
[DefaultValue(true)]
public bool Debug { get; set; } = false;
[DisplayName("Fix Script Printing Functions")]
[Description("Restores the functionality of the PUT/S/F script printing functions.")]
[DefaultValue(true)]
public bool FixScriptPrintFuncs { get; set; } = true;
}
/// <summary>
/// Allows you to override certain aspects of the configuration creation process (e.g. create multiple configurations).
/// Override elements in <see cref="ConfiguratorMixinBase"/> for finer control.
/// </summary>
public class ConfiguratorMixin : ConfiguratorMixinBase
{
//
}