C# Класс Nexus.Client.ModManagement.Scripting.XmlScript.GameVersionCondition

A condition that requires a minimum version of the game to be installed.
Наследование: VersionCondition
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

GameVersionCondition() публичный Метод

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.
Результат System

GetIsFulfilled() публичный Метод

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.
Результат bool

GetMessage() публичный Метод

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.
Результат string