PKHeX/PKHeX.Core/MysteryGifts
Kurt 3c232505e5
Refactoring: Narrow some value types (Species, Move, Form) (#3575)
In this pull request I've changed a ton of method signatures to reflect the more-narrow types of Species, Move# and Form; additionally, I've narrowed other large collections that stored lists of species / permitted values, and reworked them to be more performant with the latest API spaghetti that PKHeX provides. Roamer met locations, usually in a range of [max-min]<64, can be quickly checked using a bitflag operation on a UInt64. Other collections (like "Is this from Colosseum or XD") were eliminated -- shadow state is not transferred COLO<->XD, so having a Shadow ID or matching the met location from a gift/wild encounter is a sufficient check for "originated in XD".
2022-08-26 23:43:36 -07:00
..
DataMysteryGift.cs File scoped namespaces (#3529) 2022-06-18 11:04:24 -07:00
MysteryGift.cs Refactoring: Narrow some value types (Species, Move, Form) (#3575) 2022-08-26 23:43:36 -07:00
MysteryUtil.cs Add specialized struct for Moveset and IV specs (#3572) 2022-08-21 17:34:32 -07:00
PCD.cs Refactoring: Narrow some value types (Species, Move, Form) (#3575) 2022-08-26 23:43:36 -07:00
PGF.cs Refactoring: Narrow some value types (Species, Move, Form) (#3575) 2022-08-26 23:43:36 -07:00
PGT.cs Refactoring: Narrow some value types (Species, Move, Form) (#3575) 2022-08-26 23:43:36 -07:00
PL6.cs Refactoring: Narrow some value types (Species, Move, Form) (#3575) 2022-08-26 23:43:36 -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 Refactoring: Narrow some value types (Species, Move, Form) (#3575) 2022-08-26 23:43:36 -07:00
WB7.cs Refactoring: Narrow some value types (Species, Move, Form) (#3575) 2022-08-26 23:43:36 -07:00
WB8.cs Refactoring: Narrow some value types (Species, Move, Form) (#3575) 2022-08-26 23:43:36 -07:00
WC3.cs Refactoring: Narrow some value types (Species, Move, Form) (#3575) 2022-08-26 23:43:36 -07:00
WC6.cs Refactoring: Narrow some value types (Species, Move, Form) (#3575) 2022-08-26 23:43:36 -07:00
WC6Full.cs Minor perf improvement (spans) 2022-06-25 23:08:28 -07:00
WC7.cs Refactoring: Narrow some value types (Species, Move, Form) (#3575) 2022-08-26 23:43:36 -07:00
WC7Full.cs Minor perf improvement (spans) 2022-06-25 23:08:28 -07:00
WC8.cs Refactoring: Narrow some value types (Species, Move, Form) (#3575) 2022-08-26 23:43:36 -07:00
WR7.cs Refactoring: Narrow some value types (Species, Move, Form) (#3575) 2022-08-26 23:43:36 -07:00