Add testing Dynamis IPC for debugging.

This commit is contained in:
Ottermandias 2025-05-06 00:31:26 +02:00
parent c1e1476fa6
commit 8a9877bb01
4 changed files with 8 additions and 4 deletions

View file

@ -26,6 +26,7 @@ public class Glamourer : IDalamudPlugin
public static readonly Logger Log = new();
public static MessageService Messager { get; private set; } = null!;
public static DynamisIpc Dynamis { get; private set; } = null!;
private readonly ServiceManager _services;
@ -35,6 +36,7 @@ public class Glamourer : IDalamudPlugin
{
_services = StaticServiceManager.CreateProvider(pluginInterface, Log, this);
Messager = _services.GetService<MessageService>();
Dynamis = _services.GetService<DynamisIpc>();
_services.EnsureRequiredServices();
_services.GetService<VisorService>();

View file

@ -45,9 +45,10 @@ public unsafe class ModelEvaluationPanel(
ImGuiUtil.DrawTableColumn("Address");
ImGui.TableNextColumn();
ImGuiUtil.CopyOnClickSelectable(actor.ToString());
Glamourer.Dynamis.DrawPointer(actor);
ImGui.TableNextColumn();
ImGuiUtil.CopyOnClickSelectable(model.ToString());
Glamourer.Dynamis.DrawPointer(model);
ImGui.TableNextColumn();
if (actor.IsCharacter)
{

View file

@ -112,7 +112,8 @@ public static class StaticServiceManager
.AddSingleton<CrestService>()
.AddSingleton<InventoryService>()
.AddSingleton<ContextMenuService>()
.AddSingleton<ScalingService>();
.AddSingleton<ScalingService>()
.AddSingleton<DynamisIpc>();
private static ServiceManager AddDesigns(this ServiceManager services)
=> services.AddSingleton<DesignManager>()

@ -1 +1 @@
Subproject commit d1ba1942efaae219b06ebc27d43de6d1889af97d
Subproject commit 9235599dd6efd17067a06ad98066a6c0d5b625e0