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

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

Méthodes publiques

Méthode 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 méthode

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.
Résultat bool

GetMessage() public méthode

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.
Résultat string

ModManagerCondition() public méthode

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.
Résultat System