feat: save daily quests #2
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user