jyx2/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3Writer.cs
/// <summary>Stores the contents of the writer and overwrites any existing keys if overwriting is enabled.</summary>
/// <param name="overwriteKeys">Whether we should overwrite existing keys.</param>
Stores the contents of the writer and overwrites any existing keys if overwriting is enabled.
Stores the contents of the writer and overwrites any existing keys if overwriting is enabled .
public virtual void Save(bool overwriteKeys)
	{
		if(overwriteKeys)
			Merge();
		EndWriteFile();
		Dispose();
        if(settings.location == ES3.Location.File || settings.location == ES3.Location.PlayerPrefs)
		    ES3IO.CommitBackup(settings);
	}
public virtual void Save ( bool overwriteKeys ) { if ( overwriteKeys ) Merge ( ) ; EndWriteFile ( ) ; Dispose ( ) ; if ( settings . location == ES3 . Location . File || settings . location == ES3 . Location . PlayerPrefs ) ES3IO . CommitBackup ( settings ) ; }
Stores the contents of the writer and overwrites any existing keys if overwriting is enabled.
Stores the contents of the writer and overwrites any existing keys if overwriting is enabled .
// If we're writing to a location which can become corrupted, rename the backup file to the file we want. // This prevents corrupt data.
overwriteKeys
bool
Whether we should overwrite existing keys.
Whether we should overwrite existing keys .