C# 클래스 Nexus.Client.ModManagement.Scripting.XmlScript.PluginCondition

A condition that requires a specified plugin to be in a specified PluginState.
상속: ICondition
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5

공개 메소드들

메소드 설명
GetIsFulfilled ( ConditionStateManager p_csmStateManager ) : bool

Gets whether or not the condition is fulfilled.

The condition is fulfilled if the specified File is in the specified State.

GetMessage ( ConditionStateManager p_csmStateManager ) : string

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

If the condition is fulfilled the message is "Passed." If the condition is not fulfilled the message uses the pattern: File '<file>' is not <state>.

PluginCondition ( string p_strPluginPath, PluginState p_pnsState ) : System

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

메소드 상세

GetIsFulfilled() 공개 메소드

Gets whether or not the condition is fulfilled.
The condition is fulfilled if the specified File is in the specified State.
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.
If the condition is fulfilled the message is "Passed." If the condition is not fulfilled the message uses the pattern: File '<file>' is not <state>.
public GetMessage ( ConditionStateManager p_csmStateManager ) : string
p_csmStateManager ConditionStateManager The manager that tracks the currect install state.
리턴 string

PluginCondition() 공개 메소드

A simple constructor that initializes the object with the given values.
public PluginCondition ( string p_strPluginPath, PluginState p_pnsState ) : System
p_strPluginPath string The plugin that must be is the specified state.
p_pnsState PluginState The state in which the specified plugin must be.
리턴 System