C# Класс Nexus.Client.ModManagement.AutoTagger

Tags mods with metadata retrieved from a mod repository.
Показать файл Открыть проект

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

Метод Описание
AutoTagger ( IModRepository p_mrpModRepository ) : System

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

CombineInfo ( IModInfo p_mifInfo, IModFileInfo p_mfiFileInfo ) : IModInfo

Combines the given mod info and mod file info into one mod info.

GetTagInfoCandidates ( IMod p_modMod ) : IEnumerable

Gets a list of possible mod info tags which match the given mod.

Tag ( IMod p_modMod, IModInfo p_mifModInfo, bool p_booOverwriteAllValues ) : void

Tags the mod with the given values.

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

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

A simple constructor that initializes the object wiht the given values.
public AutoTagger ( IModRepository p_mrpModRepository ) : System
p_mrpModRepository IModRepository The mod repository from which to get mods and mod metadata.
Результат System

CombineInfo() публичный статический Метод

Combines the given mod info and mod file info into one mod info.
public static CombineInfo ( IModInfo p_mifInfo, IModFileInfo p_mfiFileInfo ) : IModInfo
p_mifInfo IModInfo The mod info to combine.
p_mfiFileInfo IModFileInfo The mod file info to combine.
Результат IModInfo

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

Gets a list of possible mod info tags which match the given mod.
public GetTagInfoCandidates ( IMod p_modMod ) : IEnumerable
p_modMod IMod The mod for which to retrieve a list of possible tags.
Результат IEnumerable

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

Tags the mod with the given values.
public Tag ( IMod p_modMod, IModInfo p_mifModInfo, bool p_booOverwriteAllValues ) : void
p_modMod IMod The mod the tag.
p_mifModInfo IModInfo The values with which to tag the mod.
p_booOverwriteAllValues bool Whether to overwrite the current info values, /// or just the empty ones.
Результат void