namespace StardewModdingAPI.Advanced
{
/// Wraps a configuration file with IO methods for convenience.
public interface IConfigFile
{
/*********
** Accessors
*********/
/// Provides methods for interacting with the mod directory, including read/writing the config file.
IModHelper ModHelper { get; set; }
/// The file path from which the model was loaded, relative to the mod directory.
string FilePath { get; set; }
/*********
** Methods
*********/
/// Reparse the underlying file and update this model.
void Reload();
/// Save this model to the underlying file.
void Save();
}
}