MapExpansions API
Use this API
Section titled “Use this API”Reference MapExpansions.dll from your Mods folder:
<Reference Include="MapExpansions"> <HintPath>$(ModsDirectory)\MapExpansions.dll</HintPath> <Private>false</Private></Reference>Mark it optional, so your mod still loads without it:
[assembly: MelonOptionalDependencies("MapExpansions")]Without MapExpansions its types are missing too. Call it only after you know it loaded.