PKHeX/PKHeX.Core/Legality
Kurt 768047cd80
Legality: Rewrite Ribbon Verifier (#3570)
* Rewrite ribbon verification
* Explicitly verifies all ribbons instead of chained iterators.
* Verifies using only the stack, using `struct` and `Span<T>`. No allocation on heap, or `IEnumerable` iterators.
* Verifies all egg ribbons using a separate method, explicitly implemented. No reflection overhead.
* Separates each ribbon interface to separate `static` classes. Easier to identify code needing change on new game update.
* Extracted logic for specific ribbons. Can easily revise complicated ribbon's acquisition rules.
* Simplifies GiveAll/RemoveAll legal ribbon mutations. No reflection overhead, and no allocation.
* Can be expanded in the future if we need to track conditions for ribbon acquisition (was Sinnoh Champ received in BDSP or Gen4?)

End result is a more performant implementation and easier to maintain & reuse logic.
2022-08-15 21:04:30 -07:00
..
Areas Refactoring: Move Source (Legality) (#3560) 2022-08-03 16:15:27 -07:00
Encounters Add latest distribution raid data 👿 2022-08-11 20:07:02 -04:00
Enums Refactoring: Move Source (Legality) (#3560) 2022-08-03 16:15:27 -07:00
Evolutions Misc tweaks 2022-08-05 11:23:28 -07:00
Formatting Legality: Rewrite Ribbon Verifier (#3570) 2022-08-15 21:04:30 -07:00
Learnset Refactoring: Move Source (Legality) (#3560) 2022-08-03 16:15:27 -07:00
LearnSource Add more xmldoc 2022-08-11 00:46:41 -07:00
Moves Move files 2022-08-11 00:24:59 -07:00
Restrictions Minor tweaks 2022-08-05 16:18:42 -07:00
RNG Delete unused logic 2022-08-11 00:25:16 -07:00
Structures Add more xmldoc 2022-08-11 00:46:41 -07:00
Tables Refactoring: Move Source (Legality) (#3560) 2022-08-03 16:15:27 -07:00
Verifiers Legality: Rewrite Ribbon Verifier (#3570) 2022-08-15 21:04:30 -07:00
BinLinkerAccessor.cs Minor tweaks 2022-05-07 11:47:01 -07:00
Breeding.cs Minor clean, xmldoc personal tables 2022-08-11 00:24:25 -07:00
BulkAnalysis.cs Minor tweaks 2022-06-26 20:02:57 -07:00
BulkGenerator.cs File scoped namespaces (#3529) 2022-06-18 11:04:24 -07:00
Core.cs Use evo history to check visitation 2022-08-03 18:17:46 -07:00
LegalityAnalysis.cs Misc tweaks 2022-08-05 11:23:28 -07:00
LegalityAnalyzers.cs Handle "random" AV gains from level up 2022-07-10 15:53:33 -07:00
MoveList.cs Refactoring: Move Source (Legality) (#3560) 2022-08-03 16:15:27 -07:00
MoveListSuggest.cs Refactoring: Move Source (Legality) (#3560) 2022-08-03 16:15:27 -07:00
MoveSourceType.cs Refactoring: Move Source (Legality) (#3560) 2022-08-03 16:15:27 -07:00