PKHeX/PKHeX.Core/MysteryGifts
Kurt 6441bdadd8
Add specialized struct for Moveset and IV specs (#3572)
`Moveset` struct stores 4 moves, and exposes methods to interact with a moveset.
`IndividualValueSet` stores a 6 IV template (signed).

Performance impact:
* Less allocating on the heap: Moves - (8 bytes member ptr, 20 bytes heap->8 bytes member)
* Less allocating on the heap: IVs - (8 bytes member ptr, 28 bytes heap->8 bytes member)
* No heap pointers, no need to jump to grab data.
* Easy to inline logic for checking if moves are present (no linq usage with temporary collections).

End result is faster ctor times, less memory used, faster program.
2022-08-21 17:34:32 -07:00
..
DataMysteryGift.cs File scoped namespaces (#3529) 2022-06-18 11:04:24 -07:00
MysteryGift.cs Add specialized struct for Moveset and IV specs (#3572) 2022-08-21 17:34:32 -07:00
MysteryUtil.cs Add specialized struct for Moveset and IV specs (#3572) 2022-08-21 17:34:32 -07:00
PCD.cs Add specialized struct for Moveset and IV specs (#3572) 2022-08-21 17:34:32 -07:00
PGF.cs Add specialized struct for Moveset and IV specs (#3572) 2022-08-21 17:34:32 -07:00
PGT.cs Add specialized struct for Moveset and IV specs (#3572) 2022-08-21 17:34:32 -07:00
PL6.cs Refactoring: Move Source (Legality) (#3560) 2022-08-03 16:15:27 -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 Add specialized struct for Moveset and IV specs (#3572) 2022-08-21 17:34:32 -07:00
WB7.cs Add specialized struct for Moveset and IV specs (#3572) 2022-08-21 17:34:32 -07:00
WB8.cs Add specialized struct for Moveset and IV specs (#3572) 2022-08-21 17:34:32 -07:00
WC3.cs Add specialized struct for Moveset and IV specs (#3572) 2022-08-21 17:34:32 -07:00
WC6.cs Add specialized struct for Moveset and IV specs (#3572) 2022-08-21 17:34:32 -07:00
WC6Full.cs Minor perf improvement (spans) 2022-06-25 23:08:28 -07:00
WC7.cs Add specialized struct for Moveset and IV specs (#3572) 2022-08-21 17:34:32 -07:00
WC7Full.cs Minor perf improvement (spans) 2022-06-25 23:08:28 -07:00
WC8.cs Add specialized struct for Moveset and IV specs (#3572) 2022-08-21 17:34:32 -07:00
WR7.cs Refactoring: Move Source (Legality) (#3560) 2022-08-03 16:15:27 -07:00