protected override void SaveToFile() { string filePath = Path.Combine(FolderPath, name); FileStorageSystem.SaveAsBinary(filePath, currentValue); }
/// <summary>Saves value to local storage</summary> private void SaveToFile() { string filePath = Path.Combine(FolderPath, name); FileStorageSystem.SaveAsBinary(filePath, finished); }
public override void SaveToFile() { string filePath = Path.Combine(FolderPath, name); FileStorageSystem.SaveAsBinary(filePath, count); }
/// <summary>Saves the active state of this quest to local storage</summary> public void SaveActiveStateToFile() { string filePath = Path.Combine(FolderPath, name); FileStorageSystem.SaveAsBinary(filePath, isActive); }