Table of Contents

Class Generating

Namespace
Exiled.Events.Patches.Events.Map
Assembly
Exiled.Events.dll

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

seed int

The seed to find the layouts of.

lcz LczFacilityLayout

The Light Containment Zone layout of the seed.

hcz HczFacilityLayout

The Heavy Containment Zone layout of the seed.

ez EzFacilityLayout

The Entrance Zone layout of the seed.

Returns

bool

Whether the method executed correctly.