diff --git a/Omega/Plugin.cs b/Omega/Plugin.cs index 458d01e..f2c3279 100644 --- a/Omega/Plugin.cs +++ b/Omega/Plugin.cs @@ -16,7 +16,7 @@ public class Plugin : IDalamudPlugin { private static Server _server = null!; - public Plugin(DalamudPluginInterface pluginInterface) { + public Plugin(IDalamudPluginInterface pluginInterface) { pluginInterface.Create(); WindowSystem = new("Omega"); diff --git a/Omega/Server.cs b/Omega/Server.cs index 534fae6..cb464d3 100644 --- a/Omega/Server.cs +++ b/Omega/Server.cs @@ -110,7 +110,6 @@ protected override void OnMessage(MessageEventArgs e) { switch (msg.MessageCase) { case C2SMessage.MessageOneofCase.Ping: { - PluginLog.Debug("Got ping, sending pong"); var msg2 = new S2CMessage { Pong = new Pong { GameVersion = File.ReadAllText("ffxivgame.ver"), @@ -155,7 +154,6 @@ protected override void OnMessage(MessageEventArgs e) { foreach (var payload in payloads) { var addr = (nint)payload.Address; var data = payload.Data.ToByteArray()[0]; - PluginLog.Verbose("Writing {Data:X} to {Address:X}", data, payload.Address); VirtualProtect(addr, 1, 0x40, out var oldProtect); unsafe { @@ -187,7 +185,6 @@ protected override void OnMessage(MessageEventArgs e) { } default: - PluginLog.Warning("Unknown message type: {Message}", msg.MessageCase); break; } } diff --git a/Omega/Services.cs b/Omega/Services.cs index dea859a..4971dd2 100644 --- a/Omega/Services.cs +++ b/Omega/Services.cs @@ -7,7 +7,7 @@ namespace Omega; public class Services { - [PluginService] public static DalamudPluginInterface PluginInterface { get; private set; } = null!; + [PluginService] public static IDalamudPluginInterface PluginInterface { get; private set; } = null!; [PluginService] public static ICommandManager CommandManager { get; private set; } = null!; [PluginService] public static ISigScanner SigScanner { get; private set; } = null!; [PluginService] public static IFramework Framework { get; private set; } = null!;