C# Класс Nexus.Client.Mods.Formats.OMod.OModFormat

Describes the OMod mod format.
This is the mod format that is commonly used for Oblivion mods. This format was introduced with the Oblivion Mod Manager (OBMM).
Наследование: IModFormat
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
CheckFormatCompliance ( string p_strPath ) : FormatConfidence

Determines if the specified file in a mod that conforms to the current format.

CreateMod ( string p_strPath, IGameMode p_gmdGameMode ) : IMod

Creates a mod from the specified file.

The specified file must be in the current format.

GetModCompressor ( IEnvironmentInfo p_eifEnvironmentInfo ) : IModCompressor

Gets a IModCompressor that can compress a source folder into a mod of the current format.

OModFormat ( IModCacheManager p_mcmModCacheManager, IScriptTypeRegistry p_stgScriptTypeRegistry ) : System

A simple constructor that initializes the object with the required dependencies.

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

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

Determines if the specified file in a mod that conforms to the current format.
public CheckFormatCompliance ( string p_strPath ) : FormatConfidence
p_strPath string The path of the file for which it is to be determined whether it confroms /// to the current format.
Результат FormatConfidence

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

Creates a mod from the specified file.
The specified file must be in the current format.
public CreateMod ( string p_strPath, IGameMode p_gmdGameMode ) : IMod
p_strPath string The path of the file from which to create an .
p_gmdGameMode IGameMode The game mode creating the mod.
Результат IMod

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

Gets a IModCompressor that can compress a source folder into a mod of the current format.
public GetModCompressor ( IEnvironmentInfo p_eifEnvironmentInfo ) : IModCompressor
p_eifEnvironmentInfo IEnvironmentInfo The application's envrionment info.
Результат IModCompressor

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

A simple constructor that initializes the object with the required dependencies.
public OModFormat ( IModCacheManager p_mcmModCacheManager, IScriptTypeRegistry p_stgScriptTypeRegistry ) : System
p_mcmModCacheManager IModCacheManager The manager for the current game mode's mod cache.
p_stgScriptTypeRegistry IScriptTypeRegistry The registry of supported script types.
Результат System