Skip to content
This repository has been archived by the owner on Mar 25, 2023. It is now read-only.

Commit

Permalink
Add Brilliant Diamond And Shining Pearl Pokédex
Browse files Browse the repository at this point in the history
  • Loading branch information
foohyfooh committed Nov 28, 2021
1 parent dca5e59 commit a8196fa
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 8 deletions.
12 changes: 12 additions & 0 deletions SortingPlugin/Gen8_Sinnoh.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using PKHeX.Core;
using System;

namespace SortingPlugin {
class Gen8_Sinnoh: SortingBase {

public static Func<PKM, IComparable>[] GetSortFunctions() {
return Gen4_Sinnoh.GetDPSortFunctions();
}

}
}
1 change: 1 addition & 0 deletions SortingPlugin/PluginMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ private void LoadMenuStrip(ToolStrip menuStrip) {
ctrl.DropDownItems.Add(GetSortButton("Gen 8 Galar Isle of Armor", Gen8_Galar.GetIoADexSortFunctions()));
ctrl.DropDownItems.Add(GetSortButton("Gen 8 Galar Crown Tundra", Gen8_Galar.GetCTDexSortFunction()));
ctrl.DropDownItems.Add(GetSortButton("Gen 8 Galar Complete", Gen8_Galar.GetFullGalarDexSortFunctions()));
ctrl.DropDownItems.Add(GetSortButton("Gen 8 Sinnoh", Gen8_Sinnoh.GetSortFunctions()));

var sortButton = new ToolStripMenuItem("National Pokédex");
sortButton.Click += (s, e) => SortByNationalDex();
Expand Down
11 changes: 6 additions & 5 deletions SortingPlugin/SortingPlugin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
</Reference>
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
</Reference>
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
Expand All @@ -61,7 +61,9 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Gen1_Kanto.cs" />
<Compile Include="PluginMain.cs" />
<Compile Include="SortingBase.cs" />
<Compile Include="Gen1_Kanto.cs" />
<Compile Include="Gen2_Johto.cs" />
<Compile Include="Gen3_Hoenn.cs" />
<Compile Include="Gen3_Kanto.cs" />
Expand All @@ -73,9 +75,8 @@
<Compile Include="Gen7_Alola.cs" />
<Compile Include="Gen7_Kanto.cs" />
<Compile Include="Gen8_Galar.cs" />
<Compile Include="PluginMain.cs" />
<Compile Include="Gen8_Sinnoh.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SortingBase.cs" />
<Service Include="{94E38DFF-614B-4cbd-B67C-F211BB35CE8B}" />
</ItemGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion SortingPlugin/app.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
Expand Down
4 changes: 2 additions & 2 deletions SortingPlugin/packages.config
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="IndexRange" version="1.0.0" targetFramework="net472" />
<package id="PKHeX.Core" version="21.8.6" targetFramework="net472" />
<package id="PKHeX.Core" version="21.11.27" targetFramework="net472" />
<package id="System.Buffers" version="4.5.1" targetFramework="net472" />
<package id="System.Memory" version="4.5.4" targetFramework="net472" />
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net472" />
<package id="System.Runtime.CompilerServices.Unsafe" version="5.0.0" targetFramework="net472" />
<package id="System.Runtime.CompilerServices.Unsafe" version="6.0.0" targetFramework="net472" />
</packages>

0 comments on commit a8196fa

Please # to comment.