PKHeX/PKHeX.Core/MysteryGifts
Kurt f632aedd15
Encounter Templates: Searching and Creating (#3955)
We implement simple state machine iterators to iterate through every split type encounter array, and more finely control the path we iterate through. And, by using generics, we can have the compiler generate optimized code to avoid virtual calls.

In addition to this, we shift away from the big-5 encounter types and not inherit from an abstract class. This allows for creating a PK* of a specific type and directly writing properties (no virtual calls). Plus we can now fine-tune each encounter type to call specific code, and not have to worry about future game encounter types bothering the generation routines.
2023-08-12 16:01:16 -07:00
..
DataMysteryGift.cs ThrowIfNull net7 2023-02-23 01:07:46 -08:00
MysteryGift.cs Encounter Templates: Searching and Creating (#3955) 2023-08-12 16:01:16 -07:00
MysteryUtil.cs Update from .NET Framework 4.6 to .NET 7 (#3729) 2023-01-21 20:02:33 -08:00
PCD.cs Encounter Templates: Searching and Creating (#3955) 2023-08-12 16:01:16 -07:00
PGF.cs Encounter Templates: Searching and Creating (#3955) 2023-08-12 16:01:16 -07:00
PGT.cs Encounter Templates: Searching and Creating (#3955) 2023-08-12 16:01:16 -07:00
PL6.cs Encounter Templates: Searching and Creating (#3955) 2023-08-12 16:01:16 -07:00
ShinyType6.cs Disassociate Shiny enum from WC6 PIDType (#3461) 2022-03-12 17:38:59 -08:00
ShinyType8.cs Disassociate Shiny enum from WC6 PIDType (#3461) 2022-03-12 17:38:59 -08:00
WA8.cs Encounter Templates: Searching and Creating (#3955) 2023-08-12 16:01:16 -07:00
WB7.cs Encounter Templates: Searching and Creating (#3955) 2023-08-12 16:01:16 -07:00
WB8.cs Encounter Templates: Searching and Creating (#3955) 2023-08-12 16:01:16 -07:00
WC3.cs Encounter Templates: Searching and Creating (#3955) 2023-08-12 16:01:16 -07:00
WC6.cs Encounter Templates: Searching and Creating (#3955) 2023-08-12 16:01:16 -07:00
WC6Full.cs Minor perf improvement (spans) 2022-06-25 23:08:28 -07:00
WC7.cs Encounter Templates: Searching and Creating (#3955) 2023-08-12 16:01:16 -07:00
WC7Full.cs Minor perf improvement (spans) 2022-06-25 23:08:28 -07:00
WC8.cs Encounter Templates: Searching and Creating (#3955) 2023-08-12 16:01:16 -07:00
WC9.cs Encounter Templates: Searching and Creating (#3955) 2023-08-12 16:01:16 -07:00
WR7.cs Update from .NET Framework 4.6 to .NET 7 (#3729) 2023-01-21 20:02:33 -08:00