From a8196fadb5db6886b1812385082cb46a86b2e78b Mon Sep 17 00:00:00 2001 From: Jonathan Herbert Date: Sun, 28 Nov 2021 01:25:05 -0400 Subject: [PATCH] =?UTF-8?q?Add=20Brilliant=20Diamond=20And=20Shining=20Pea?= =?UTF-8?q?rl=20Pok=C3=A9dex?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SortingPlugin/Gen8_Sinnoh.cs | 12 ++++++++++++ SortingPlugin/PluginMain.cs | 1 + SortingPlugin/SortingPlugin.csproj | 11 ++++++----- SortingPlugin/app.config | 2 +- SortingPlugin/packages.config | 4 ++-- 5 files changed, 22 insertions(+), 8 deletions(-) create mode 100644 SortingPlugin/Gen8_Sinnoh.cs diff --git a/SortingPlugin/Gen8_Sinnoh.cs b/SortingPlugin/Gen8_Sinnoh.cs new file mode 100644 index 0000000..ba40941 --- /dev/null +++ b/SortingPlugin/Gen8_Sinnoh.cs @@ -0,0 +1,12 @@ +using PKHeX.Core; +using System; + +namespace SortingPlugin { + class Gen8_Sinnoh: SortingBase { + + public static Func[] GetSortFunctions() { + return Gen4_Sinnoh.GetDPSortFunctions(); + } + + } +} diff --git a/SortingPlugin/PluginMain.cs b/SortingPlugin/PluginMain.cs index 6f0ad3d..189d243 100644 --- a/SortingPlugin/PluginMain.cs +++ b/SortingPlugin/PluginMain.cs @@ -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(); diff --git a/SortingPlugin/SortingPlugin.csproj b/SortingPlugin/SortingPlugin.csproj index f71c870..d40e0cc 100644 --- a/SortingPlugin/SortingPlugin.csproj +++ b/SortingPlugin/SortingPlugin.csproj @@ -48,8 +48,8 @@ ..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll - - ..\packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll + + ..\packages\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll @@ -61,7 +61,9 @@ - + + + @@ -73,9 +75,8 @@ - + - diff --git a/SortingPlugin/app.config b/SortingPlugin/app.config index f10b4ac..1696df6 100644 --- a/SortingPlugin/app.config +++ b/SortingPlugin/app.config @@ -4,7 +4,7 @@ - + diff --git a/SortingPlugin/packages.config b/SortingPlugin/packages.config index 1cf22c0..e14430b 100644 --- a/SortingPlugin/packages.config +++ b/SortingPlugin/packages.config @@ -1,9 +1,9 @@  - + - + \ No newline at end of file