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
stepMapGeneratorStep- 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.
vanillaPaddingint- 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.