Insanely huge initial commit

This commit is contained in:
2026-02-21 16:40:15 -08:00
parent 2ba1c94b88
commit ee9aee0a1b
33825 changed files with 5213498 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
namespace MoreMountains.Tools
{
/// <summary>
/// An interface classes that want to be saved by the MMPersistencyManager need to implement
/// </summary>
public interface IMMPersistent
{
/// <summary>
/// Needs to return a unique Guid used to identify this object
/// </summary>
/// <returns></returns>
string GetGuid();
/// <summary>
/// Returns a savable string containing the object's data
/// </summary>
/// <returns></returns>
string OnSave();
/// <summary>
/// Loads the object's data from the passed string and applies it to its properties
/// </summary>
/// <param name="data"></param>
void OnLoad(string data);
/// <summary>
/// Whether or not this object should be saved
/// </summary>
/// <returns></returns>
bool ShouldBeSaved();
}
}