C# Class Nexus.Client.ModManagement.Scripting.XmlScript.ModManagerCondition

A depcondition that requires a minimum version of the mod manager to be installed.
Inheritance: VersionCondition
Show file Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
GetIsFulfilled ( ConditionStateManager p_csmStateManager ) : bool

Gets whether or not the condition is fulfilled.

The dependency is fulfilled if the specified minimum version of the game is installed.

GetMessage ( ConditionStateManager p_csmStateManager ) : string

Gets a message describing whether or not the condition is fulfilled.

ModManagerCondition ( System.Version p_verVersion ) : System

A simple constructor that initializes the object with the given values.

Method Details

GetIsFulfilled() public method

Gets whether or not the condition is fulfilled.
The dependency is fulfilled if the specified minimum version of the game is installed.
public GetIsFulfilled ( ConditionStateManager p_csmStateManager ) : bool
p_csmStateManager ConditionStateManager The manager that tracks the currect install state.
return bool

GetMessage() public method

Gets a message describing whether or not the condition is fulfilled.
public GetMessage ( ConditionStateManager p_csmStateManager ) : string
p_csmStateManager ConditionStateManager The manager that tracks the currect install state.
return string

ModManagerCondition() public method

A simple constructor that initializes the object with the given values.
public ModManagerCondition ( System.Version p_verVersion ) : System
p_verVersion System.Version The minimum required version of the mod manager.
return System