mirror of
https://github.com/Caraxi/mare.client.git
synced 2026-02-21 17:57:42 +01:00
api12 update
This commit is contained in:
parent
71f06898c3
commit
ed604d9bd6
5 changed files with 582 additions and 69 deletions
|
|
@ -29,6 +29,7 @@ using NReco.Logging.File;
|
|||
using System.Net.Http.Headers;
|
||||
using System.Reflection;
|
||||
using MareSynchronos.Services.CharaData;
|
||||
using Dalamud.Game;
|
||||
|
||||
namespace MareSynchronos;
|
||||
|
||||
|
|
@ -39,7 +40,8 @@ public sealed class Plugin : IDalamudPlugin
|
|||
public Plugin(IDalamudPluginInterface pluginInterface, ICommandManager commandManager, IDataManager gameData,
|
||||
IFramework framework, IObjectTable objectTable, IClientState clientState, ICondition condition, IChatGui chatGui,
|
||||
IGameGui gameGui, IDtrBar dtrBar, IPluginLog pluginLog, ITargetManager targetManager, INotificationManager notificationManager,
|
||||
ITextureProvider textureProvider, IContextMenu contextMenu, IGameInteropProvider gameInteropProvider, IGameConfig gameConfig)
|
||||
ITextureProvider textureProvider, IContextMenu contextMenu, IGameInteropProvider gameInteropProvider, IGameConfig gameConfig,
|
||||
ISigScanner sigScanner)
|
||||
{
|
||||
if (!Directory.Exists(pluginInterface.ConfigDirectory.FullName))
|
||||
Directory.CreateDirectory(pluginInterface.ConfigDirectory.FullName);
|
||||
|
|
@ -131,7 +133,7 @@ public sealed class Plugin : IDalamudPlugin
|
|||
collection.AddSingleton((s) => new EventAggregator(pluginInterface.ConfigDirectory.FullName,
|
||||
s.GetRequiredService<ILogger<EventAggregator>>(), s.GetRequiredService<MareMediator>()));
|
||||
collection.AddSingleton((s) => new DalamudUtilService(s.GetRequiredService<ILogger<DalamudUtilService>>(),
|
||||
clientState, objectTable, framework, gameGui, condition, gameData, targetManager, gameConfig,
|
||||
clientState, objectTable, framework, gameGui, condition, gameData, targetManager, gameConfig, sigScanner,
|
||||
s.GetRequiredService<BlockedCharacterHandler>(), s.GetRequiredService<MareMediator>(), s.GetRequiredService<PerformanceCollectorService>()));
|
||||
collection.AddSingleton((s) => new DtrEntry(s.GetRequiredService<ILogger<DtrEntry>>(), dtrBar, s.GetRequiredService<MareConfigService>(),
|
||||
s.GetRequiredService<MareMediator>(), s.GetRequiredService<PairManager>(), s.GetRequiredService<ApiController>()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue