diff --git a/PatMe2Mqtt/PatMe2Mqtt.csproj b/PatMe2Mqtt/PatMe2Mqtt.csproj index 74359a3..63bb4be 100644 --- a/PatMe2Mqtt/PatMe2Mqtt.csproj +++ b/PatMe2Mqtt/PatMe2Mqtt.csproj @@ -10,7 +10,7 @@ - net7.0-windows + net8.0-windows x64 enable latest @@ -25,7 +25,7 @@ - + $(DalamudLibPath)FFXIVClientStructs.dll false diff --git a/PatMe2Mqtt/PatMe2Mqtt.json b/PatMe2Mqtt/PatMe2Mqtt.json index 9a60c6a..bd860b2 100644 --- a/PatMe2Mqtt/PatMe2Mqtt.json +++ b/PatMe2Mqtt/PatMe2Mqtt.json @@ -3,7 +3,7 @@ "InternalName": "patme2mqtt", "Author": "0x0ade", "ApplicableVersion": "any", - "DalamudApiLevel": 9, + "DalamudApiLevel": 10, "Punchline": "Gluing PatMe and FFXIV2MQTT together.", "Description": "Basic plugin that pokes FFXIV2MQTT every time PatMe detects a pat.", "Tags": [ "pat", "emote", "mqtt", "patme", "ffxiv2mqtt" ], diff --git a/PatMe2Mqtt/Plugin.cs b/PatMe2Mqtt/Plugin.cs index 087a0d5..a9faaf1 100644 --- a/PatMe2Mqtt/Plugin.cs +++ b/PatMe2Mqtt/Plugin.cs @@ -16,7 +16,7 @@ namespace PatMe2Mqtt private readonly ICallGateSubscriber _ipcPatMeCounter; private readonly ICallGateSubscriber _ipcMqttPublish; - public Plugin([RequiredVersion("1.0")] DalamudPluginInterface pluginInterface) + public Plugin(IDalamudPluginInterface pluginInterface) { pluginInterface.Create(); diff --git a/PatMe2Mqtt/Service.cs b/PatMe2Mqtt/Service.cs index a2f4a8e..b9254b4 100644 --- a/PatMe2Mqtt/Service.cs +++ b/PatMe2Mqtt/Service.cs @@ -91,7 +91,7 @@ namespace PatMe2Mqtt public static PatMeProxyApi.PatMe PatMe { get; internal set; } = null!; [PluginService] - public static DalamudPluginInterface PluginInterface { get; private set; } = null!; + public static IDalamudPluginInterface PluginInterface { get; private set; } = null!; [PluginService] public static ICommandManager CommandManager { get; private set; } = null!; diff --git a/PatMe2Mqtt/packages.lock.json b/PatMe2Mqtt/packages.lock.json index 6cf1c73..19fcea9 100644 --- a/PatMe2Mqtt/packages.lock.json +++ b/PatMe2Mqtt/packages.lock.json @@ -1,12 +1,12 @@ { "version": 1, "dependencies": { - "net7.0-windows7.0": { + "net8.0-windows7.0": { "DalamudPackager": { "type": "Direct", - "requested": "[2.1.12, )", - "resolved": "2.1.12", - "contentHash": "Sc0PVxvgg4NQjcI8n10/VfUQBAS4O+Fw2pZrAqBdRMbthYGeogzu5+xmIGCGmsEZ/ukMOBuAqiNiB5qA3MRalg==" + "requested": "[2.1.13, )", + "resolved": "2.1.13", + "contentHash": "rMN1omGe8536f4xLMvx9NwfvpAc9YFFfeXJ1t4P4PE6Gu8WCIoFliR1sh07hM+bfODmesk/dvMbji7vNI+B/pQ==" } } }