PKHeX/PKHeX.Core/Legality/Restrictions
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
..
Memories Encounter Templates: Searching and Creating (#3955) 2023-08-12 16:01:16 -07:00
EvolutionRestrictions.cs Skip initial cctor alloc on non-byte primitives (#3850) 2023-03-25 17:55:55 -07:00
GBRestrictions.cs Encounter Templates: Searching and Creating (#3955) 2023-08-12 16:01:16 -07:00
ItemRestrictions.cs Allow BDSP Slate/Shard to be given via "Give All" 2023-05-18 19:30:39 -07:00
Locale3DS.cs Update from .NET Framework 4.6 to .NET 7 (#3729) 2023-01-21 20:02:33 -08:00
Vivillon3DS.cs Skip initial cctor alloc on non-byte primitives (#3850) 2023-03-25 17:55:55 -07:00
WordFilter.cs Update from .NET Framework 4.6 to .NET 7 (#3729) 2023-01-21 20:02:33 -08:00