fix: Register DataManager as a service

This commit is contained in:
Kaz Wolfe 2024-11-01 08:54:42 -07:00
parent 0b9af0e3f4
commit 82fe5a387b
No known key found for this signature in database
GPG key ID: 258813F53A16EBB4

View file

@ -8,6 +8,7 @@ using System.Runtime.InteropServices;
using CheapLoc; using CheapLoc;
using Dalamud.Configuration.Internal; using Dalamud.Configuration.Internal;
using Dalamud.Console; using Dalamud.Console;
using Dalamud.Data;
using Dalamud.Game.ClientState; using Dalamud.Game.ClientState;
using Dalamud.Game.ClientState.Conditions; using Dalamud.Game.ClientState.Conditions;
using Dalamud.Game.ClientState.Keys; using Dalamud.Game.ClientState.Keys;
@ -56,6 +57,7 @@ internal class DalamudInterface : IInternalDisposableService
private readonly Dalamud dalamud; private readonly Dalamud dalamud;
private readonly DalamudConfiguration configuration; private readonly DalamudConfiguration configuration;
private readonly InterfaceManager interfaceManager; private readonly InterfaceManager interfaceManager;
private readonly DataManager dataManager;
private readonly ChangelogWindow changelogWindow; private readonly ChangelogWindow changelogWindow;
private readonly ColorDemoWindow colorDemoWindow; private readonly ColorDemoWindow colorDemoWindow;
@ -97,6 +99,7 @@ internal class DalamudInterface : IInternalDisposableService
DalamudConfiguration configuration, DalamudConfiguration configuration,
FontAtlasFactory fontAtlasFactory, FontAtlasFactory fontAtlasFactory,
InterfaceManager interfaceManager, InterfaceManager interfaceManager,
DataManager dataManager,
PluginImageCache pluginImageCache, PluginImageCache pluginImageCache,
DalamudAssetManager dalamudAssetManager, DalamudAssetManager dalamudAssetManager,
Game.Framework framework, Game.Framework framework,
@ -108,6 +111,7 @@ internal class DalamudInterface : IInternalDisposableService
this.dalamud = dalamud; this.dalamud = dalamud;
this.configuration = configuration; this.configuration = configuration;
this.interfaceManager = interfaceManager; this.interfaceManager = interfaceManager;
this.dataManager = dataManager;
this.WindowSystem = new WindowSystem("DalamudCore"); this.WindowSystem = new WindowSystem("DalamudCore");