Skip to content

Commit 9bfa7db

Browse files
authored
[PR] API 12 update
- Updated plugin for 7.2
2 parents 2fe7047 + 10f848f commit 9bfa7db

File tree

3 files changed

+13
-58
lines changed

3 files changed

+13
-58
lines changed

Visibility/Utils/FrameworkHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public unsafe void Update()
110110
}
111111

112112
bool isBound = (Service.Condition[ConditionFlag.BoundByDuty] &&
113-
localPlayerGameObject->EventId.ContentId != EventHandlerType.TreasureHuntDirector)
113+
localPlayerGameObject->EventId.ContentId != EventHandlerContent.TreasureHuntDirector)
114114
|| Service.Condition[ConditionFlag.BetweenAreas]
115115
|| Service.Condition[ConditionFlag.WatchingCutscene]
116116
|| Service.Condition[ConditionFlag.DutyRecorderPlayback];

Visibility/Visibility.csproj

Lines changed: 2 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,17 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Dalamud.NET.SDK/12.0.2">
22
<PropertyGroup>
3-
<TargetFramework>net8.0-windows</TargetFramework>
4-
<OutputType>Library</OutputType>
5-
<LangVersion>default</LangVersion>
6-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
7-
<Nullable>enable</Nullable>
83
<AssemblyVersion>1.1.8.2</AssemblyVersion>
94
<FileVersion>$(AssemblyVersion)</FileVersion>
105
<IsPackable>false</IsPackable>
116
<Authors>SheepGoMeh</Authors>
12-
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
13-
</PropertyGroup>
14-
<PropertyGroup>
15-
<DalamudLibPath>$(AppData)\XIVLauncher\addon\Hooks\dev\</DalamudLibPath>
16-
</PropertyGroup>
17-
<PropertyGroup>
18-
<ProduceReferenceAssembly>false</ProduceReferenceAssembly>
19-
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
207
</PropertyGroup>
218
<PropertyGroup>
9+
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
2210
<DefaultItemExcludes>$(DefaultItemExcludes);**/Properties/Resources.*</DefaultItemExcludes>
2311
<SignAssembly>false</SignAssembly>
2412
<RepositoryUrl>https://github.com/SheepGoMeh/VisibilityPlugin</RepositoryUrl>
2513
<RepositoryType>GitHub</RepositoryType>
2614
</PropertyGroup>
27-
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
28-
<PlatformTarget>x64</PlatformTarget>
29-
</PropertyGroup>
30-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
31-
<PlatformTarget>x64</PlatformTarget>
32-
</PropertyGroup>
33-
<ItemGroup>
34-
<Reference Include="Dalamud">
35-
<HintPath>$(DalamudLibPath)Dalamud.dll</HintPath>
36-
<Private>False</Private>
37-
</Reference>
38-
<Reference Include="FFXIVClientStructs">
39-
<HintPath>$(DalamudLibPath)FFXIVClientStructs.dll</HintPath>
40-
<Private>False</Private>
41-
</Reference>
42-
<Reference Include="ImGui.NET">
43-
<HintPath>$(DalamudLibPath)ImGui.NET.dll</HintPath>
44-
<Private>False</Private>
45-
</Reference>
46-
<Reference Include="ImGuiScene">
47-
<HintPath>$(DalamudLibPath)ImGuiScene.dll</HintPath>
48-
<Private>False</Private>
49-
</Reference>
50-
<Reference Include="Lumina">
51-
<HintPath>$(DalamudLibPath)Lumina.dll</HintPath>
52-
<Private>False</Private>
53-
</Reference>
54-
<Reference Include="Lumina.Excel">
55-
<HintPath>$(DalamudLibPath)Lumina.Excel.dll</HintPath>
56-
<Private>False</Private>
57-
</Reference>
58-
<Reference Include="Newtonsoft.Json">
59-
<HintPath>$(DalamudLibPath)Newtonsoft.Json.dll</HintPath>
60-
<Private>False</Private>
61-
</Reference>
62-
</ItemGroup>
63-
<ItemGroup>
64-
<PackageReference Include="DalamudPackager" Version="11.0.0" />
65-
</ItemGroup>
6615
<ItemGroup>
6716
<Compile Include="Properties\Resources.Designer.cs">
6817
<AutoGen>True</AutoGen>

Visibility/packages.lock.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
{
22
"version": 1,
33
"dependencies": {
4-
"net8.0-windows7.0": {
4+
"net9.0-windows7.0": {
55
"DalamudPackager": {
66
"type": "Direct",
7-
"requested": "[11.0.0, )",
8-
"resolved": "11.0.0",
9-
"contentHash": "bjT7XUlhIJSmsE/O76b7weUX+evvGQctbQB8aKXt94o+oPWxHpCepxAGMs7Thow3AzCyqWs7cOpp9/2wcgRRQA=="
7+
"requested": "[12.0.0, )",
8+
"resolved": "12.0.0",
9+
"contentHash": "J5TJLV3f16T/E2H2P17ClWjtfEBPpq3yxvqW46eN36JCm6wR+EaoaYkqG9Rm5sHqs3/nK/vKjWWyvEs/jhKoXw=="
10+
},
11+
"DotNet.ReproducibleBuilds": {
12+
"type": "Direct",
13+
"requested": "[1.2.25, )",
14+
"resolved": "1.2.25",
15+
"contentHash": "xCXiw7BCxHJ8pF6wPepRUddlh2dlQlbr81gXA72hdk4FLHkKXas7EH/n+fk5UCA/YfMqG1Z6XaPiUjDbUNBUzg=="
1016
}
1117
}
1218
}

0 commit comments

Comments
 (0)