-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConfig.cs
More file actions
26 lines (20 loc) · 697 Bytes
/
Config.cs
File metadata and controls
26 lines (20 loc) · 697 Bytes
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
using RedLoader;
namespace OptionalDependAPI;
public static class Config
{
public static ConfigCategory Category { get; private set; }
//public static ConfigEntry<bool> SomeEntry { get; private set; }
public static void Init()
{
Category = ConfigSystem.CreateFileCategory("OptionalDependAPI", "OptionalDependAPI", "OptionalDependAPI.cfg");
// SomeEntry = Category.CreateEntry(
// "some_entry",
// true,
// "Some entry",
// "Some entry that does some stuff.");
}
// Same as the callback in "CreateSettings". Called when the settings ui is closed.
public static void OnSettingsUiClosed()
{
}
}