public void LoadConfig() { var configFile = SettingsExtensions.ReadFromJsonFile <Config>(Path.Combine(CONFIG_PATH, Name + ".json")); this.Name = configFile.Name; this.AimbotConfig = configFile.AimbotConfig; }
public Config(string name = "default") { Name = name; AimbotConfig = new AimbotConfig(); }