C# Class Nexus.Client.ModManagement.AutoTagger

Tags mods with metadata retrieved from a mod repository.
Afficher le fichier Open project: NexusMods/NexusModManager-4.5

Méthodes publiques

Méthode 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 méthode

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.
Résultat System

CombineInfo() public static méthode

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.
Résultat IModInfo

GetTagInfoCandidates() public méthode

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.
Résultat IEnumerable

Tag() public méthode

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.
Résultat void