C# Class Nexus.Client.ModManagement.AutoTagger

Tags mods with metadata retrieved from a mod repository.
Mostrar archivo Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
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.

Method Details

AutoTagger() public method

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.
return System

CombineInfo() public static method

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.
return IModInfo

GetTagInfoCandidates() public method

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.
return IEnumerable

Tag() public method

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.
return void