mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 18:17:21 +01:00
stub
This commit is contained in:
parent
91c7cc5fc8
commit
9c954471fb
7 changed files with 48 additions and 2 deletions
35
MareSynchronos/Interop/Ipc/IpcCallerPetNames.cs
Normal file
35
MareSynchronos/Interop/Ipc/IpcCallerPetNames.cs
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
using Dalamud.Plugin;
|
||||
using MareSynchronos.Services;
|
||||
using MareSynchronos.Services.Mediator;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace MareSynchronos.Interop.Ipc;
|
||||
|
||||
public sealed class IpcCallerPetNames : IIpcCaller
|
||||
{
|
||||
private readonly ILogger<IpcCallerPetNames> _logger;
|
||||
private readonly DalamudUtilService _dalamudUtil;
|
||||
private readonly MareMediator _mareMediator;
|
||||
|
||||
public IpcCallerPetNames(ILogger<IpcCallerPetNames> logger, IDalamudPluginInterface pi, DalamudUtilService dalamudUtil,
|
||||
MareMediator mareMediator)
|
||||
{
|
||||
_logger = logger;
|
||||
_dalamudUtil = dalamudUtil;
|
||||
_mareMediator = mareMediator;
|
||||
|
||||
// todo: implement this, bitch, look at moodles as example implementation
|
||||
}
|
||||
|
||||
public bool APIAvailable => throw new NotImplementedException();
|
||||
|
||||
public void CheckAPI()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
|
@ -7,7 +7,7 @@ public sealed partial class IpcManager : DisposableMediatorSubscriberBase
|
|||
{
|
||||
public IpcManager(ILogger<IpcManager> logger, MareMediator mediator,
|
||||
IpcCallerPenumbra penumbraIpc, IpcCallerGlamourer glamourerIpc, IpcCallerCustomize customizeIpc, IpcCallerHeels heelsIpc,
|
||||
IpcCallerHonorific honorificIpc, IpcCallerMoodles moodlesIpc) : base(logger, mediator)
|
||||
IpcCallerHonorific honorificIpc, IpcCallerMoodles moodlesIpc, IpcCallerPetNames ipcCallerPetNames) : base(logger, mediator)
|
||||
{
|
||||
CustomizePlus = customizeIpc;
|
||||
Heels = heelsIpc;
|
||||
|
|
@ -15,6 +15,7 @@ public sealed partial class IpcManager : DisposableMediatorSubscriberBase
|
|||
Penumbra = penumbraIpc;
|
||||
Honorific = honorificIpc;
|
||||
Moodles = moodlesIpc;
|
||||
PetNames = ipcCallerPetNames;
|
||||
|
||||
if (Initialized)
|
||||
{
|
||||
|
|
@ -41,6 +42,7 @@ public sealed partial class IpcManager : DisposableMediatorSubscriberBase
|
|||
public IpcCallerGlamourer Glamourer { get; }
|
||||
public IpcCallerPenumbra Penumbra { get; }
|
||||
public IpcCallerMoodles Moodles { get; }
|
||||
public IpcCallerPetNames PetNames { get; }
|
||||
|
||||
private void PeriodicApiStateCheck()
|
||||
{
|
||||
|
|
@ -51,5 +53,6 @@ public sealed partial class IpcManager : DisposableMediatorSubscriberBase
|
|||
CustomizePlus.CheckAPI();
|
||||
Honorific.CheckAPI();
|
||||
Moodles.CheckAPI();
|
||||
PetNames.CheckAPI();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue