using System; 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 LoadCVarsFromType(Type containingType); /// /// Indicate that config should be stored in-memory. /// /// /// This suppresses warnings from /// if no config is otherwise loaded. /// void SetVirtualConfig(); void Initialize(bool isServer); void Shutdown(); /// /// Sets up the ConfigurationManager and loads a TOML configuration file. /// /// the full name of the config file. HashSet LoadFromFile(string configFile); /// /// Specifies the location where the config file should be saved, without trying to load from it. /// void SetSaveFile(string configFile); /// /// Check the list of CVars to make sure there's no unused CVars set, which might indicate a typo or such. /// void CheckUnusedCVars(); } }