17 lines
540 B
C#
17 lines
540 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using UnityEngine.Serialization;
|
|
using YachtDice.Modifiers.Runtime;
|
|
|
|
namespace YachtDice.Persistence
|
|
{
|
|
[Serializable]
|
|
public sealed class SaveData
|
|
{
|
|
[FormerlySerializedAs("Version")] public int version = 3;
|
|
[FormerlySerializedAs("Currency")] public int currency;
|
|
[FormerlySerializedAs("OwnedModifiers")] public List<ModifierSaveEntry> ownedModifiers = new();
|
|
[FormerlySerializedAs("OwnedDiceIds")] public List<string> ownedDiceIds = new();
|
|
}
|
|
}
|