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

This class manages the state of the installation.
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5 1 사용 예제들

공개 메소드들

메소드 설명
ConditionStateManager ( IMod p_modMod, IGameMode p_gmdGameMode, IPluginManager p_pmgPluginManager, IEnvironmentInfo p_eifEnvironmentInfo ) : System

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

GetImage ( string p_strPath ) : Image

Gets the specified image from the mod against which the script is running.

RemoveFlags ( Option p_pifPlugin ) : void

Removes the all flags owned by the given option.

SetFlagValue ( string p_strFlagName, string p_strValue, Option p_pifPlugin ) : void

Sets the value of a conditional flag.

메소드 상세

ConditionStateManager() 공개 메소드

A simple constructor that initializes the object with the given values.
public ConditionStateManager ( IMod p_modMod, IGameMode p_gmdGameMode, IPluginManager p_pmgPluginManager, IEnvironmentInfo p_eifEnvironmentInfo ) : System
p_modMod IMod The mod being installed.
p_gmdGameMode IGameMode The game mode currently bieng managed.
p_pmgPluginManager IPluginManager The plugin manager.
p_eifEnvironmentInfo IEnvironmentInfo The application's envrionment info.
리턴 System

GetImage() 공개 메소드

Gets the specified image from the mod against which the script is running.
public GetImage ( string p_strPath ) : Image
p_strPath string The path to the image in the mod to retrieve.
리턴 Image

RemoveFlags() 공개 메소드

Removes the all flags owned by the given option.
public RemoveFlags ( Option p_pifPlugin ) : void
p_pifPlugin Option The owner of the flags to remove.
리턴 void

SetFlagValue() 공개 메소드

Sets the value of a conditional flag.
public SetFlagValue ( string p_strFlagName, string p_strValue, Option p_pifPlugin ) : void
p_strFlagName string The name of the falg whose value is to be set.
p_strValue string The value to which to set the flag.
p_pifPlugin Option The plugin that is responsible for setting the flag's value.
리턴 void