feat: save daily quests #2

This commit is contained in:
2026-08-21 22:19:13 +02:00
parent c8361d7ebf
commit 9117362f03
+11
View File
@@ -1,6 +1,7 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using HarmonyLib;
@@ -19,6 +20,16 @@ namespace IngameReveries
// If you need to patch with Harmony, you can use this.harmony to access the Harmony instance for your mod.
// It will be created with your mod's id automatically, the first time you access the property.
harmony.PatchAll();
// This is legit where all game data is saved (aka there are the reveries saved)
DewProfile mainProfile = DewSave.profileMain;
Debug.Log("profile main: " + mainProfile.name + " with " + mainProfile.stardust + " stadust");
List<DewProfile.DailyReverieData> reveries = mainProfile.reverieSlots;
foreach (var revery in reveries)
{
Debug.Log("revery: "+revery.currentProgress+" with "+revery.grantedStardust);
}
}
private void OnDestroy()