[Add] Dice & Refactor private names
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine.Serialization;
|
||||
using YachtDice.Modifiers.Runtime;
|
||||
|
||||
namespace YachtDice.Persistence
|
||||
@@ -7,9 +8,9 @@ namespace YachtDice.Persistence
|
||||
[Serializable]
|
||||
public sealed class SaveData
|
||||
{
|
||||
public int Version = 3;
|
||||
public int Currency;
|
||||
public List<ModifierSaveEntry> OwnedModifiers = new();
|
||||
public List<string> OwnedDiceIds = new();
|
||||
[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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user