PKHeX/PKHeX.Core/Ribbons
Kurt 416f5fe183 Check Winning/Victory ribbons for gen3 origin based on encounter
Closes #2990 ty @Atrius97 !

Remove the `object Content` accessor only used for Mystery Gifts (used to trickle up the PKM object since the two ribbon interfaces weren't implemented on the IEncounterable). Just make PCD/PGT implement the ribbon interfaces and delegate the get/set to PKM directly.

Rewrite the national ribbon check for clarity
Optimize invalid/missing ribbon string replace to operate on the final string rather than do linq and replace each input. With this we make 1 temp string only, rather than 1-per-ribbon.

Replace hardcoded "Ribbon" strings to use a shared const string in a central spot.
2020-09-18 16:23:17 -07:00
..
IRibbonIndex.cs Sword/Shield Update 2019-11-15 17:52:08 -08:00
IRibbonSetCommon3.cs PKHeX.Core Nullable cleanup (#2401) 2019-10-16 18:47:31 -07:00
IRibbonSetCommon4.cs PKHeX.Core Nullable cleanup (#2401) 2019-10-16 18:47:31 -07:00
IRibbonSetCommon6.cs PKHeX.Core Nullable cleanup (#2401) 2019-10-16 18:47:31 -07:00
IRibbonSetCommon7.cs PKHeX.Core Nullable cleanup (#2401) 2019-10-16 18:47:31 -07:00
IRibbonSetCommon8.cs Sword/Shield Update 2019-11-15 17:52:08 -08:00
IRibbonSetEvent3.cs PKHeX.Core Nullable cleanup (#2401) 2019-10-16 18:47:31 -07:00
IRibbonSetEvent4.cs PKHeX.Core Nullable cleanup (#2401) 2019-10-16 18:47:31 -07:00
IRibbonSetMark8.cs Add Mark interface 2019-11-18 17:00:16 -08:00
IRibbonSetOnly3.cs Flag gen3 world ribbon as invalid 2020-08-08 22:55:44 -07:00
IRibbonSetUnique3.cs PKHeX.Core Nullable cleanup (#2401) 2019-10-16 18:47:31 -07:00
IRibbonSetUnique4.cs PKHeX.Core Nullable cleanup (#2401) 2019-10-16 18:47:31 -07:00
RibbonIndex.cs Add Ribbon interfaces to WC8 2019-11-18 17:37:38 -08:00
RibbonInfo.cs Check Winning/Victory ribbons for gen3 origin based on encounter 2020-09-18 16:23:17 -07:00