Add Launching IPC Event. API 5.8

This commit is contained in:
Ottermandias 2025-03-28 16:53:43 +01:00
parent 7498bc469f
commit 01e6f58463
4 changed files with 35 additions and 2 deletions

View file

@ -58,6 +58,8 @@ public class Penumbra : IDalamudPlugin
{
HookOverrides.Instance = HookOverrides.LoadFile(pluginInterface);
_services = StaticServiceManager.CreateProvider(this, pluginInterface, Log);
// Invoke the IPC Penumbra.Launching method before any hooks or other services are created.
_services.GetService<IpcLaunchingProvider>();
Messager = _services.GetService<MessageService>();
_validityChecker = _services.GetService<ValidityChecker>();
_services.EnsureRequiredServices();