Finalize Mod #8
@@ -1,6 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using HarmonyLib;
|
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.
|
// 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.
|
// It will be created with your mod's id automatically, the first time you access the property.
|
||||||
harmony.PatchAll();
|
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()
|
private void OnDestroy()
|
||||||
|
|||||||
Reference in New Issue
Block a user