mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
fix: register interfaces for provided services
This commit is contained in:
parent
4b9de31240
commit
4a1b220d4a
9 changed files with 46 additions and 20 deletions
|
|
@ -2,6 +2,7 @@ using System;
|
|||
using System.IO;
|
||||
|
||||
using Dalamud.Configuration.Internal;
|
||||
using Dalamud.Game;
|
||||
using Dalamud.Game.Command;
|
||||
using Dalamud.Interface.Windowing;
|
||||
using Dalamud.Plugin;
|
||||
|
|
@ -55,7 +56,7 @@ namespace Dalamud.CorePlugin
|
|||
/// </summary>
|
||||
/// <param name="pluginInterface">Dalamud plugin interface.</param>
|
||||
/// <param name="log">Logging service.</param>
|
||||
public PluginImpl(DalamudPluginInterface pluginInterface, IPluginLog log)
|
||||
public PluginImpl(DalamudPluginInterface pluginInterface, IPluginLog log, ISigScanner scanner)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
@ -65,6 +66,8 @@ namespace Dalamud.CorePlugin
|
|||
|
||||
this.windowSystem.AddWindow(new PluginWindow());
|
||||
|
||||
this.pluginLog.Information(scanner.ToString());
|
||||
|
||||
this.Interface.UiBuilder.Draw += this.OnDraw;
|
||||
this.Interface.UiBuilder.OpenConfigUi += this.OnOpenConfigUi;
|
||||
this.Interface.UiBuilder.OpenMainUi += this.OnOpenMainUi;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue