C# Класс Nexus.Client.ModAuthoring.ModPackager

This builds a mod file from a mod Project.
Наследование: ThreadedBackgroundTask
Показать файл Открыть проект

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

Метод Описание
ModPackager ( FileUtil p_futFileUtilities ) : System

A simple constructor that initializes the object with its dependencies.

PackageMod ( string p_strFileName, Project p_prjModProject ) : void

Creates a mod file at the specified location from the given mod Project.

Защищенные методы

Метод Описание
DoWork ( object p_objArgs ) : object

Performs the actual mod preparation work.

Приватные методы

Метод Описание
Compressor_FileCompressionFinished ( object sender, EventArgs e ) : void

Called when a file has been added to a new mod.

This steps the progress of the task.

Compressor_FileCompressionStarted ( object sender, SevenZip.FileNameEventArgs e ) : void

Called when a file is about to be added to a new mod.

This cancels the compression if the task has been cancelled.

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

DoWork() защищенный Метод

Performs the actual mod preparation work.
protected DoWork ( object p_objArgs ) : object
p_objArgs object The task arguments.
Результат object

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

A simple constructor that initializes the object with its dependencies.
public ModPackager ( FileUtil p_futFileUtilities ) : System
p_futFileUtilities Nexus.Client.Util.FileUtil The file utility class.
Результат System

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

Creates a mod file at the specified location from the given mod Project.
public PackageMod ( string p_strFileName, Project p_prjModProject ) : void
p_strFileName string The path of the mod file to build.
p_prjModProject Project The describing the mod to be built.
Результат void