mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-02 13:53:40 +01:00
Unify IconReplacer and IconReplaceChecker, cleanup
This commit is contained in:
parent
a3fe81d310
commit
1bd4eed72c
5 changed files with 29 additions and 78 deletions
|
|
@ -42,8 +42,6 @@ namespace Dalamud {
|
|||
|
||||
public readonly IconReplacer IconReplacer;
|
||||
|
||||
public readonly IconReplaceChecker IconReplaceChecker;
|
||||
|
||||
public Dalamud(DalamudStartInfo info) {
|
||||
this.StartInfo = info;
|
||||
|
||||
|
|
@ -71,9 +69,7 @@ namespace Dalamud {
|
|||
|
||||
this.PluginManager = new PluginManager(this, info.PluginDirectory, info.DefaultPluginDirectory);
|
||||
|
||||
this.IconReplaceChecker = new IconReplaceChecker(this.targetModule, this.sigScanner);
|
||||
|
||||
this.IconReplacer = new IconReplacer(this, this.targetModule, this.sigScanner);
|
||||
this.IconReplacer = new IconReplacer(this, this.sigScanner);
|
||||
|
||||
try {
|
||||
this.PluginManager.LoadPlugins();
|
||||
|
|
@ -89,8 +85,6 @@ namespace Dalamud {
|
|||
|
||||
this.BotManager.Start();
|
||||
|
||||
this.IconReplaceChecker.Enable();
|
||||
|
||||
this.IconReplacer.Enable();
|
||||
}
|
||||
|
||||
|
|
@ -109,8 +103,6 @@ namespace Dalamud {
|
|||
|
||||
this.unloadSignal.Dispose();
|
||||
|
||||
this.IconReplaceChecker.Dispose();
|
||||
|
||||
this.IconReplacer.Dispose();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue