mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-12 10:17:23 +01:00
Add testing Dynamis IPC for debugging.
This commit is contained in:
parent
c1e1476fa6
commit
8a9877bb01
4 changed files with 8 additions and 4 deletions
|
|
@ -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>();
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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>()
|
||||
|
|
|
|||
2
OtterGui
2
OtterGui
|
|
@ -1 +1 @@
|
|||
Subproject commit d1ba1942efaae219b06ebc27d43de6d1889af97d
|
||||
Subproject commit 9235599dd6efd17067a06ad98066a6c0d5b625e0
|
||||
Loading…
Add table
Add a link
Reference in a new issue