Class PatchCondition
- Namespace
- Vintagestory.ServerMods.NoObf
- Assembly
- VSEssentials.dll
A condition for a json patch. Conditions are based on the currently loaded worldconfig.
public class PatchCondition
- Inheritance
-
PatchCondition
Fields
When (Required)
The key for the world config that this condition relies on.
public string When
Field Value
IsValue (Recommended) (Default: None)
What value does the world config need to be for this patch to happen? Required if not using useValue. Will be ignored if using useValue.
public string IsValue
Field Value
useValue (Optional) (Default: False)
If true, then this will replace the Value with the value in the world config. Can be used to create more complex patches. Required if not using IsValue.
public bool useValue