Class Generating
Patches MapGeneration.SeedSynchronizer.Awake(). Adds the Generating event.
[HarmonyPatch(typeof(SeedSynchronizer), "Awake")]
public class Generating
- Inheritance
-
Generating
- Inherited Members
- Extension Methods
Methods
TryDetermineLayouts(int, out LczFacilityLayout, out HczFacilityLayout, out EzFacilityLayout)
Determines what layouts will be generated from a seed, code comes from interpreting Generate(Random) and sub-methods.
public static bool TryDetermineLayouts(int seed, out LczFacilityLayout lcz, out HczFacilityLayout hcz, out EzFacilityLayout ez)
Parameters
seedintThe seed to find the layouts of.
lczLczFacilityLayoutThe Light Containment Zone layout of the seed.
hczHczFacilityLayoutThe Heavy Containment Zone layout of the seed.
ezEzFacilityLayoutThe Entrance Zone layout of the seed.
Returns
- bool
Whether the method executed correctly.