mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 14:30:56 +00:00
cb24c20a44
Sure it's nice to cache a valid array, but the amount of logic was small enough that it can be done with 10 lines of code rather than at the end of each verification method. Reduces parameter passing & removes 1 field from the info object, as relearn suggestions are only done rarely after legality checking. Allows for a simpler api surface (pkm, encounter) rather than a bigger object reference |
||
---|---|---|
.. | ||
CheckMoveResult.cs | ||
CheckResult.cs | ||
EggMoves.cs | ||
ILocation.cs | ||
IMoveset.cs | ||
IRelearn.cs | ||
ITrainerInfo.cs | ||
IVersion.cs | ||
LegalInfo.cs | ||
Shiny.cs | ||
SimpleTrainerInfo.cs |