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

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

Public Methods

Method Description
GameVersionCondition ( System.Version p_verVersion ) : System

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

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.

Method Details

GameVersionCondition() public method

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

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