22 lines
445 B
C#
22 lines
445 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace YachtDice.Persistence
|
|
{
|
|
[Serializable]
|
|
public sealed class SaveData
|
|
{
|
|
public int Version = 1;
|
|
public int Currency;
|
|
public List<ModifierSaveEntry> OwnedModifiers = new();
|
|
}
|
|
|
|
[Serializable]
|
|
public sealed class ModifierSaveEntry
|
|
{
|
|
public string ModifierId;
|
|
public bool IsActive;
|
|
public int RemainingUses;
|
|
}
|
|
}
|