2019-08-30 10:51:13 +08:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Linq;
|
|
|
|
using System.Text;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
namespace Revitalize.Framework.Configs
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Handles holding all of the config information.
|
|
|
|
/// </summary>
|
|
|
|
public class ConfigManager
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// The config file for vanilla machine recipes.
|
|
|
|
/// </summary>
|
|
|
|
public VanillaMachineRecipeConfig vanillaMachineConfig;
|
|
|
|
|
2019-09-01 02:47:15 +08:00
|
|
|
public Shops_BlacksmithConfig shops_blacksmithConfig;
|
2019-09-01 03:08:52 +08:00
|
|
|
public FurnitureConfig furnitureConfig;
|
2019-09-01 02:47:15 +08:00
|
|
|
|
2019-09-10 06:44:25 +08:00
|
|
|
/// <summary>
|
|
|
|
/// The config file to be used for machines.
|
|
|
|
/// </summary>
|
|
|
|
public GlobalMachineConfig machinesConfig;
|
|
|
|
|
2019-08-30 10:51:13 +08:00
|
|
|
public ConfigManager()
|
|
|
|
{
|
|
|
|
this.vanillaMachineConfig = VanillaMachineRecipeConfig.InitializeConfig();
|
2019-09-01 02:47:15 +08:00
|
|
|
this.shops_blacksmithConfig = Shops_BlacksmithConfig.InitializeConfig();
|
2019-09-01 03:08:52 +08:00
|
|
|
this.furnitureConfig = FurnitureConfig.InitializeConfig();
|
2019-09-10 06:44:25 +08:00
|
|
|
this.machinesConfig = GlobalMachineConfig.InitializeConfig();
|
2019-08-30 10:51:13 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|