Table of Contents

Class PatchModDependence

Namespace
Vintagestory.ServerMods.NoObf
Assembly
VSEssentials.dll

A mod-dependence for a json patch. If your patch depends on another mod, you need to use this.

public class PatchModDependence
Inheritance
PatchModDependence

Fields

modid (Required)

The mod ID that this patch relies on.

public string modid

Field Value

string

invert (Optional) (Default: False)

If true, then the patch will only occur if the specified mod is not installed.

public bool invert

Field Value

bool