PKHeX/PKHeX.Core/PKM/Util
Kurt fa9a809751
Encapsulate item pouch arrays/etc for finer control (#3860)
* Extract/encapsulate inventory legal arrays to interface+class

Hiding them behind methods allows these to be left as ReadOnlySpan<ushort> and thus never allocate on the heap.
Also refactors out some logic for checking if an item is legal.

End result feels more maintainable and is less bloaty (no more passing in a nullable func)

Batch editing
* Add HasType filter

```
=HasType=11
.HeldItem=Meadow Plate
```

slaps a meadow plate on any pkm with grass type
Use `=PersonalType1=11` for only primary grass types; only-secondary-type grass will not match it.
2023-04-16 12:58:07 -07:00
..
Conversion Encapsulate item pouch arrays/etc for finer control (#3860) 2023-04-16 12:58:07 -07:00
EffortValues.cs Less allocation, minor tweaks 2023-03-27 00:11:42 -07:00
EntityBlank.cs Minor clean 2023-04-13 00:05:10 -07:00
EntityDetection.cs Update 22.11.24 2022-11-24 17:42:17 -08:00
EntityFileExtension.cs Update from .NET Framework 4.6 to .NET 7 (#3729) 2023-01-21 20:02:33 -08:00
EntityFileNamer.cs Update from .NET Framework 4.6 to .NET 7 (#3729) 2023-01-21 20:02:33 -08:00
EntityFormat.cs Update from .NET Framework 4.6 to .NET 7 (#3729) 2023-01-21 20:02:33 -08:00
EntityGender.cs Update from .NET Framework 4.6 to .NET 7 (#3729) 2023-01-21 20:02:33 -08:00
EntityPID.cs Update EntityPID.cs 2022-12-22 12:12:13 -08:00
EntitySorting.cs Update from .NET Framework 4.6 to .NET 7 (#3729) 2023-01-21 20:02:33 -08:00
Experience.cs Skip initial cctor alloc on non-byte primitives (#3850) 2023-03-25 17:55:55 -07:00
Language.cs Update from .NET Framework 4.6 to .NET 7 (#3729) 2023-01-21 20:02:33 -08:00
PKX.cs Update 22.11.24 2022-11-24 17:42:17 -08:00
PokeCrypto.cs Minor clean 2023-04-13 00:05:10 -07:00
RecentTrainerCache.cs Refactoring: Move Source (Legality) (#3560) 2022-08-03 16:15:27 -07:00
SpeciesName.cs Minor optimizations 2023-03-21 17:20:13 -07:00