Skip to main content

ForestResetPatches.SaveQueuedSeed

A static class in TavernLib, TavernLib.Patches.

Postfixes ForestGenerator's explicit Save method so the save holds a queued reset's new seed, and the next start builds that forest. Server.

Methods​

MemberWhat it is
static void Postfix(ForestGenerator __instance, ForestGeneratorSaveData __result)Writes the queued seed into the returned ForestGeneratorSaveData, when a reset is queued.
static MethodBase TargetMethod()Finds ForestGenerator's explicit Save method that returns ForestGeneratorSaveData.