Pet Nicknames IPC implementation (#74)

This commit is contained in:
Amber
2024-09-10 09:13:34 +02:00
committed by Loporrit
parent 498fab2a1b
commit 28828a620b
11 changed files with 214 additions and 3 deletions

View File

@@ -7,13 +7,14 @@ public sealed partial class IpcManager : DisposableMediatorSubscriberBase
{
public IpcManager(ILogger<IpcManager> logger, MareMediator mediator,
IpcCallerPenumbra penumbraIpc, IpcCallerGlamourer glamourerIpc, IpcCallerCustomize customizeIpc, IpcCallerHeels heelsIpc,
IpcCallerHonorific honorificIpc) : base(logger, mediator)
IpcCallerHonorific honorificIpc, IpcCallerPetNames ipcCallerPetNames) : base(logger, mediator)
{
CustomizePlus = customizeIpc;
Heels = heelsIpc;
Glamourer = glamourerIpc;
Penumbra = penumbraIpc;
Honorific = honorificIpc;
PetNames = ipcCallerPetNames;
if (Initialized)
{
@@ -39,6 +40,7 @@ public sealed partial class IpcManager : DisposableMediatorSubscriberBase
public IpcCallerHeels Heels { get; init; }
public IpcCallerGlamourer Glamourer { get; }
public IpcCallerPenumbra Penumbra { get; }
public IpcCallerPetNames PetNames { get; }
private void PeriodicApiStateCheck()
{
@@ -48,5 +50,6 @@ public sealed partial class IpcManager : DisposableMediatorSubscriberBase
Heels.CheckAPI();
CustomizePlus.CheckAPI();
Honorific.CheckAPI();
PetNames.CheckAPI();
}
}