mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 05:48:44 +00:00
* 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. |
||
---|---|---|
.. | ||
ComplexSet | ||
Suggestion | ||
BatchEditing.cs | ||
BatchEditor.cs | ||
BatchFilters.cs | ||
BatchInfo.cs | ||
BatchMods.cs | ||
ModifyResult.cs | ||
StringInstruction.cs | ||
StringInstructionSet.cs |