blob: 1b424acee9f1f32c2a59370d10f8575cb739b38d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
using System;
namespace StardewModdingAPI.Advanced
{
/// <summary>Wraps a configuration file with IO methods for convenience.</summary>
[Obsolete]
public interface IConfigFile
{
/*********
** Accessors
*********/
/// <summary>Provides simplified APIs for writing mods.</summary>
IModHelper ModHelper { get; set; }
/// <summary>The file path from which the model was loaded, relative to the mod directory.</summary>
string FilePath { get; set; }
/*********
** Methods
*********/
/// <summary>Reparse the underlying file and update this model.</summary>
void Reload();
/// <summary>Save this model to the underlying file.</summary>
void Save();
}
}
|