C# 클래스 Nexus.Client.ModManagement.BasicInstallTask

Performs a standard mod installation.
A basic install installs all of the files in the mod to the installation directory, and activates all plugin files.
상속: ThreadedBackgroundTask
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5 1 사용 예제들

공개 메소드들

메소드 설명
BasicInstallTask ( IMod p_modMod, IGameMode p_gmdGameMode, IModFileInstaller p_mfiFileInstaller, IPluginManager p_pmgPluginManager, bool p_booSkipReadme, ReadOnlyObservableList p_rolActiveMods ) : System

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

Execute ( ) : bool

Runs the basic install task.

보호된 메소드들

메소드 설명
ActivatePlugin ( string p_strPlugin ) : void
DoWork ( object p_objArgs ) : object

The method that is called to start the backgound task.

This method installs all of the files in the IMod being installed.

메소드 상세

ActivatePlugin() 보호된 메소드

protected ActivatePlugin ( string p_strPlugin ) : void
p_strPlugin string
리턴 void

BasicInstallTask() 공개 메소드

A simple constructor that initializes the object with the given values.
public BasicInstallTask ( IMod p_modMod, IGameMode p_gmdGameMode, IModFileInstaller p_mfiFileInstaller, IPluginManager p_pmgPluginManager, bool p_booSkipReadme, ReadOnlyObservableList p_rolActiveMods ) : System
p_modMod IMod The mod being installed.
p_gmdGameMode IGameMode The the current game mode.
p_mfiFileInstaller IModFileInstaller The file installer to use.
p_pmgPluginManager IPluginManager The plugin manager.
p_booSkipReadme bool Whether to skip the installation of readme files.
p_rolActiveMods ReadOnlyObservableList The list of active mods.
리턴 System

DoWork() 보호된 메소드

The method that is called to start the backgound task.
This method installs all of the files in the IMod being installed.
protected DoWork ( object p_objArgs ) : object
p_objArgs object Arguments to for the task execution.
리턴 object

Execute() 공개 메소드

Runs the basic install task.
public Execute ( ) : bool
리턴 bool