mirror of
https://github.com/soarqin/DSP_Mods_TO.git
synced 2026-11-19 17:03:50 +08:00
WIP
This commit is contained in:
1 parent
cd7293f54c
commit
883464a9c3
31 files changed
+873
-592
No files matched your search
@@ -7,11 +7,11 @@ namespace AutoPilot.Commons;
|
||||
|
||||
internal abstract class ConfigManager
|
||||
{
|
||||
public static ConfigFile Config { get; private set; }
|
||||
|
||||
protected ConfigManager(ConfigFile config)
|
||||
private static ConfigFile Config { get; set; }
|
||||
|
||||
protected static void Init<T>(ConfigFile config) where T: ConfigManager, new()
|
||||
{
|
||||
_instance = this;
|
||||
_instance = new T();
|
||||
Config = config;
|
||||
Config.SaveOnConfigSet = false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user