refactor: update to api level 3

This commit is contained in:
Anna 2021-04-05 15:10:57 -04:00
parent 9b3d853c9b
commit 1d54648cd4
2 changed files with 6 additions and 6 deletions

View File

@ -8,7 +8,7 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Dalamud, Version=5.2.3.3, Culture=neutral, PublicKeyToken=null">
<Reference Include="Dalamud, Version=5.2.4.2, Culture=neutral, PublicKeyToken=null">
<HintPath>$(AppData)\XIVLauncher\addon\Hooks\dev\Dalamud.dll</HintPath>
<Private>False</Private>
</Reference>
@ -28,11 +28,11 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Costura.Fody" Version="5.0.2">
<PackageReference Include="Costura.Fody" Version="5.1.0">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="DalamudPackager" Version="1.2.0"/>
<PackageReference Include="Fody" Version="6.3.0">
<PackageReference Include="DalamudPackager" Version="1.2.1"/>
<PackageReference Include="Fody" Version="6.5.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>

View File

@ -30,8 +30,8 @@ namespace DalamudPython {
this.Engine.Runtime.Globals.SetVariable("interface", this.Interface);
// load Dalamud, Lumina, and ImGuiNET
this.Engine.Runtime.LoadAssembly(Assembly.GetAssembly(typeof(DalamudPluginInterface)));
this.Engine.Runtime.LoadAssembly(Assembly.GetAssembly(typeof(Lumina.Lumina)));
this.Engine.Runtime.LoadAssembly(Assembly.GetAssembly(typeof(Lumina.Excel.IExcelRow)));
this.Engine.Runtime.LoadAssembly(Assembly.GetAssembly(typeof(Lumina.GameData)));
this.Engine.Runtime.LoadAssembly(Assembly.GetAssembly(typeof(Lumina.Excel.ExcelRow)));
this.Engine.Runtime.LoadAssembly(Assembly.GetAssembly(typeof(Lumina.Excel.GeneratedSheets.Achievement)));
this.Engine.Runtime.LoadAssembly(Assembly.GetAssembly(typeof(ImGuiNET.ImGui)));