copy from github

This commit is contained in:
Sebastian Bularca
2026-03-27 15:14:08 +01:00
parent 4aefcfd47f
commit b5d13e86d9
63 changed files with 1706 additions and 2 deletions

View File

@@ -0,0 +1,16 @@
using System;
using Newtonsoft.Json.Linq;
namespace Jovian.SaveSystem {
/// <summary>
/// On-disk wrapper that pairs minimal metadata with the game data payload.
/// Payload is stored as JToken so it remains readable JSON when using JsonSaveSerializer.
/// </summary>
[Serializable]
public sealed class SaveEnvelope {
public int version;
public long timestampUtc;
public SaveSlotType slotType;
public JToken payload;
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: ffa4184b4e99e3947ac73fa747d346d7

View File

@@ -0,0 +1,6 @@
namespace Jovian.SaveSystem {
public enum SaveFormat {
Json,
Binary
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: a118c9ab8d89ad546ad67e8dc1a71c98

View File

@@ -0,0 +1,7 @@
namespace Jovian.SaveSystem {
public enum SaveSlotType {
Manual,
Auto,
Quick
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 0f1e478bd3e3fec43a55f4efec51577c