mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-16 07:12:27 +02:00
27 lines
844 B
C#
27 lines
844 B
C#
using System.Collections.Generic;
|
|
using System.Reflection;
|
|
|
|
namespace Robust.Shared.Configuration
|
|
{
|
|
internal interface IConfigurationManagerInternal : IConfigurationManager
|
|
{
|
|
void OverrideConVars(IEnumerable<(string key, string value)> cVars);
|
|
void LoadCVarsFromAssembly(Assembly assembly);
|
|
|
|
void Initialize(bool isServer);
|
|
|
|
void Shutdown();
|
|
|
|
/// <summary>
|
|
/// Sets up the ConfigurationManager and loads a TOML configuration file.
|
|
/// </summary>
|
|
/// <param name="configFile">the full name of the config file.</param>
|
|
void LoadFromFile(string configFile);
|
|
|
|
/// <summary>
|
|
/// Specifies the location where the config file should be saved, without trying to load from it.
|
|
/// </summary>
|
|
void SetSaveFile(string configFile);
|
|
}
|
|
}
|