Table of Contents

Delegate MapPaddingHook

Namespace
WorldgenLib
Assembly
WorldgenLib.VintageStory.dll

Adjusts the padding requested for one vanilla map stage. This is a lifecycle-safe replacement for transpilers that only changed a local padding constant in GenMaps.OnMapRegionGen.

public delegate int MapPaddingHook(MapGeneratorStep step, int vanillaPadding)

Parameters

step MapGeneratorStep
Adjusts the padding requested for one vanilla map stage. This is a lifecycle-safe replacement for transpilers that only changed a local padding constant in GenMaps.OnMapRegionGen.
vanillaPadding int
Adjusts the padding requested for one vanilla map stage. This is a lifecycle-safe replacement for transpilers that only changed a local padding constant in GenMaps.OnMapRegionGen.

Returns

int
Adjusts the padding requested for one vanilla map stage. This is a lifecycle-safe replacement for transpilers that only changed a local padding constant in GenMaps.OnMapRegionGen.