C# Class Nexus.Client.ModManagement.InstallationLog.InstallLog.ActiveModRegistry

This tracks the mods that have been activated.
Afficher le fichier Open project: NexusMods/NexusModManager-4.5

Méthodes publiques

Méthode Description
ActiveModRegistry ( ) : System

The default constructor.

Clear ( ) : void

Empties the registry.

DeregisterMod ( IMod p_modMod ) : void

Deregisters the given mod.

DeregisterMod ( string p_strModKey ) : void

Deregisters the specified mod.

DoesKeyExist ( string p_strKey ) : bool

Determins if the given key exists in the registry.

GetKey ( IMod p_modMod ) : string

Gets the key associated with the given mod.

GetMod ( string p_strKey ) : IMod

Gets the mod identified by the given key.

IsModHidden ( IMod p_modMod ) : bool

Determines if the given mod is hidden.

IsModRegistered ( IMod p_modMod ) : bool

Determines if the given mod is registered.

RegisterMod ( IMod p_modNewMod, string p_strModKey ) : void

Registers the given mod as being active, and associates it with the given key.

RegisterMod ( IMod p_modNewMod, string p_strModKey, bool p_booHiddenMod ) : void

Registers the given mod as being active, and associates it with the given key.

Method Details

ActiveModRegistry() public méthode

The default constructor.
public ActiveModRegistry ( ) : System
Résultat System

Clear() public méthode

Empties the registry.
public Clear ( ) : void
Résultat void

DeregisterMod() public méthode

Deregisters the given mod.
public DeregisterMod ( IMod p_modMod ) : void
p_modMod IMod The mod to deregister.
Résultat void

DeregisterMod() public méthode

Deregisters the specified mod.
public DeregisterMod ( string p_strModKey ) : void
p_strModKey string The key of the mod to deregister.
Résultat void

DoesKeyExist() public méthode

Determins if the given key exists in the registry.
public DoesKeyExist ( string p_strKey ) : bool
p_strKey string The key whose existence is to be determined.
Résultat bool

GetKey() public méthode

Gets the key associated with the given mod.
public GetKey ( IMod p_modMod ) : string
p_modMod IMod The mod whose key is to be retrieved.
Résultat string

GetMod() public méthode

Gets the mod identified by the given key.
public GetMod ( string p_strKey ) : IMod
p_strKey string The key of the mod to be retrieved.
Résultat IMod

IsModHidden() public méthode

Determines if the given mod is hidden.
public IsModHidden ( IMod p_modMod ) : bool
p_modMod IMod The mod for which it is to be determined if it is registered.
Résultat bool

IsModRegistered() public méthode

Determines if the given mod is registered.
public IsModRegistered ( IMod p_modMod ) : bool
p_modMod IMod The mod for which it is to be determined if it is hidden.
Résultat bool

RegisterMod() public méthode

Registers the given mod as being active, and associates it with the given key.
public RegisterMod ( IMod p_modNewMod, string p_strModKey ) : void
p_modNewMod IMod The mod to register.
p_strModKey string The key with which to associate the mod.
Résultat void

RegisterMod() public méthode

Registers the given mod as being active, and associates it with the given key.
public RegisterMod ( IMod p_modNewMod, string p_strModKey, bool p_booHiddenMod ) : void
p_modNewMod IMod The mod to register.
p_strModKey string The key with which to associate the mod.
p_booHiddenMod bool Whether or not the mod should be included in the /// list of active mods.
Résultat void