mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-19 15:51:48 +00:00
wip
This commit is contained in:
1 parent
57c842ece6
commit
5fb59408fa
8 files changed
+105
-55
No files matched your search
@@ -7,13 +7,8 @@ namespace MiraAPI.Example;
|
||||
|
||||
public static class ExampleLocalSetings
|
||||
{
|
||||
public static LocalSettingsTab ModTab { get; } = new LocalSettingsTab("Example Tab");
|
||||
public static LocalSettingsTab ModTab { get; } = new("Example Tab");
|
||||
|
||||
[LocalSettingToggle]
|
||||
public static ConfigEntry<bool> ExampleToggleSetting { get; set; }
|
||||
|
||||
internal static void BindSettings(ConfigFile config)
|
||||
{
|
||||
ExampleToggleSetting = config.Bind("General", "Example Toggle", false);
|
||||
}
|
||||
}
|
||||
[LocalSetting]
|
||||
public static ConfigEntry<bool> ExampleToggleSetting { get; private set; }
|
||||
}
|
||||
Reference in new issue
Block a user