C# 클래스 Nexus.Client.ModManagement.InstallationLog.InstallLog.ActiveModRegistry

This tracks the mods that have been activated.
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5

공개 메소드들

메소드 설명
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.

메소드 상세

ActiveModRegistry() 공개 메소드

The default constructor.
public ActiveModRegistry ( ) : System
리턴 System

Clear() 공개 메소드

Empties the registry.
public Clear ( ) : void
리턴 void

DeregisterMod() 공개 메소드

Deregisters the given mod.
public DeregisterMod ( IMod p_modMod ) : void
p_modMod IMod The mod to deregister.
리턴 void

DeregisterMod() 공개 메소드

Deregisters the specified mod.
public DeregisterMod ( string p_strModKey ) : void
p_strModKey string The key of the mod to deregister.
리턴 void

DoesKeyExist() 공개 메소드

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.
리턴 bool

GetKey() 공개 메소드

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.
리턴 string

GetMod() 공개 메소드

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.
리턴 IMod

IsModHidden() 공개 메소드

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.
리턴 bool

IsModRegistered() 공개 메소드

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.
리턴 bool

RegisterMod() 공개 메소드

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.
리턴 void

RegisterMod() 공개 메소드

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.
리턴 void