Class ModDependency
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
Represents a mod dependency requirement of one mod for another.
public class ModDependency
- Inheritance
-
ModDependency
- Inherited Members
- Extension Methods
Constructors
ModDependency(string, string)
Creates a new ModDependancy object.
public ModDependency(string modID, string version = "")
Parameters
modID
stringThe ID of the required mod.
version
stringThe version of the required mod (default: empty string.)
Properties
ModID
The required mod id (domain) of this dependency.
public string ModID { get; }
Property Value
Version
The minimum version requirement of this dependency. May be empty if the no specific version is required.
public string Version { get; }
Property Value
Methods
ToString()
Returns the Mod Dependancy as a string.
public override string ToString()