Add MCDO (#80)
* update api * mcd online editor impl * most of chara data hub impl * some state of things * some refactoring * random bullshit go * more nearby impl * add uid to peformance msg * cleanup/homogenization * some split, update nuget packages * migrate to latest packages where possible, remove lz4net, do some split, idk * some polish and cleanup * more cleanup, beautification, etc. * fixes and cleanups --------- Co-authored-by: Stanley Dimant <root.darkarchon@outlook.com>
This commit is contained in:
@@ -7,15 +7,16 @@ public sealed partial class IpcManager : DisposableMediatorSubscriberBase
|
||||
{
|
||||
public IpcManager(ILogger<IpcManager> logger, MareMediator mediator,
|
||||
IpcCallerPenumbra penumbraIpc, IpcCallerGlamourer glamourerIpc, IpcCallerCustomize customizeIpc, IpcCallerHeels heelsIpc,
|
||||
IpcCallerHonorific honorificIpc, IpcCallerPetNames ipcCallerPetNames, IpcCallerMoodles moodlesIpc) : base(logger, mediator)
|
||||
IpcCallerHonorific honorificIpc, IpcCallerMoodles moodlesIpc, IpcCallerPetNames ipcCallerPetNames, IpcCallerBrio ipcCallerBrio) : base(logger, mediator)
|
||||
{
|
||||
CustomizePlus = customizeIpc;
|
||||
Heels = heelsIpc;
|
||||
Glamourer = glamourerIpc;
|
||||
Penumbra = penumbraIpc;
|
||||
Honorific = honorificIpc;
|
||||
PetNames = ipcCallerPetNames;
|
||||
Moodles = moodlesIpc;
|
||||
PetNames = ipcCallerPetNames;
|
||||
Brio = ipcCallerBrio;
|
||||
|
||||
if (Initialized)
|
||||
{
|
||||
@@ -41,15 +42,17 @@ public sealed partial class IpcManager : DisposableMediatorSubscriberBase
|
||||
public IpcCallerHeels Heels { get; init; }
|
||||
public IpcCallerGlamourer Glamourer { get; }
|
||||
public IpcCallerPenumbra Penumbra { get; }
|
||||
public IpcCallerPetNames PetNames { get; }
|
||||
public IpcCallerMoodles Moodles { get; }
|
||||
public IpcCallerPetNames PetNames { get; }
|
||||
|
||||
public IpcCallerBrio Brio { get; }
|
||||
|
||||
private int _stateCheckCounter = -1;
|
||||
|
||||
private void PeriodicApiStateCheck()
|
||||
{
|
||||
// Stagger API checks
|
||||
if (++_stateCheckCounter > 7)
|
||||
if (++_stateCheckCounter > 8)
|
||||
_stateCheckCounter = 0;
|
||||
int i = _stateCheckCounter;
|
||||
if (i == 0) Penumbra.CheckAPI();
|
||||
@@ -58,7 +61,8 @@ public sealed partial class IpcManager : DisposableMediatorSubscriberBase
|
||||
if (i == 3) Heels.CheckAPI();
|
||||
if (i == 4) CustomizePlus.CheckAPI();
|
||||
if (i == 5) Honorific.CheckAPI();
|
||||
if (i == 6) PetNames.CheckAPI();
|
||||
if (i == 7) Moodles.CheckAPI();
|
||||
if (i == 6) Moodles.CheckAPI();
|
||||
if (i == 7) PetNames.CheckAPI();
|
||||
if (i == 8) Brio.CheckAPI();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user