Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #66 from Tischel/api8
Browse files Browse the repository at this point in the history
Updating for NET7 and Dalamud Api8
  • Loading branch information
lichie567 authored Jan 15, 2023
2 parents 98eb355 + 1d29fbe commit 6eda265
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion XIVAuras/Helpers/ActionHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public unsafe void GetItemRecastInfo(uint actionId, out RecastInfo recastInfo)

public unsafe bool CanUseAction(uint actionId, ActionType type = ActionType.Spell, long targetId = 0xE000_0000)
{
return _actionManager->GetActionStatus(type, actionId, targetId, 0, 1) == 0;
return _actionManager->GetActionStatus(type, actionId, targetId, false, true) == 0;
}

public unsafe bool GetActionInRange(uint actionId, GameObject? player, GameObject? target)
Expand Down
2 changes: 1 addition & 1 deletion XIVAuras/Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class Plugin : IDalamudPlugin
{
public const string ConfigFileName = "XIVAuras.json";

public static string Version { get; private set; } = "0.2.4.0";
public static string Version { get; private set; } = "0.2.5.0";

public static string ConfigFileDir { get; private set; } = "";

Expand Down
10 changes: 5 additions & 5 deletions XIVAuras/XIVAuras.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup Label="Target">
<PlatformTarget>x64</PlatformTarget>
<TargetFramework>net6.0-windows</TargetFramework>
<TargetFramework>net7.0-windows</TargetFramework>
<LangVersion>latest</LangVersion>
<Platforms>x64</Platforms>
<Configurations>Debug;Release</Configurations>
Expand All @@ -10,9 +10,9 @@
<!-- Assembly Configuration -->
<PropertyGroup>
<AssemblyName>XIVAuras</AssemblyName>
<AssemblyVersion>0.2.4.0</AssemblyVersion>
<FileVersion>0.2.4.0</FileVersion>
<InformationalVersion>0.2.4.0</InformationalVersion>
<AssemblyVersion>0.2.5.0</AssemblyVersion>
<FileVersion>0.2.5.0</FileVersion>
<InformationalVersion>0.2.5.0</InformationalVersion>
</PropertyGroup>

<!-- Build Configuration -->
Expand Down Expand Up @@ -86,7 +86,7 @@

<!-- NuGet Packages -->
<ItemGroup>
<PackageReference Include="DalamudPackager" Version="2.1.8" />
<PackageReference Include="DalamudPackager" Version="2.1.10" />
</ItemGroup>

<!-- Dalamud Packager Task-->
Expand Down
2 changes: 1 addition & 1 deletion base_repo.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"TestingAssemblyVersion": "1.0.0.0",
"RepoUrl": "https://github.com/lichie567/XIVAuras",
"ApplicableVersion": "any",
"DalamudApiLevel": 7,
"DalamudApiLevel": 8,
"IsHide": "False",
"IsTestingExclusive": "False",
"DownloadCount": 0,
Expand Down

0 comments on commit 6eda265

Please sign in to comment.