PKHeX/PKHeX.Core/Saves/Substructures/Gen7/LGPE
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
..
BelugaBlockIndex.cs File scoped namespaces (#3529) 2022-06-18 11:04:24 -07:00
CaptureRecords.cs Refactoring: Narrow some value types (Species, Move, Form) (#3575) 2022-08-26 23:43:36 -07:00
ConfigSave7b.cs File scoped namespaces (#3529) 2022-06-18 11:04:24 -07:00
EventWork7b.cs File scoped namespaces (#3529) 2022-06-18 11:04:24 -07:00
GoParkStorage.cs Minor minor perf 2023-04-15 01:58:37 -07:00
GP1.cs Update from .NET Framework 4.6 to .NET 7 (#3729) 2023-01-21 20:02:33 -08:00
IEventWork.cs File scoped namespaces (#3529) 2022-06-18 11:04:24 -07:00
Misc7b.cs Update from .NET Framework 4.6 to .NET 7 (#3729) 2023-01-21 20:02:33 -08:00
MyItem7b.cs Encapsulate item pouch arrays/etc for finer control (#3860) 2023-04-16 12:58:07 -07:00
MyStatus7b.cs Update from .NET Framework 4.6 to .NET 7 (#3729) 2023-01-21 20:02:33 -08:00
PlayTime7b.cs File scoped namespaces (#3529) 2022-06-18 11:04:24 -07:00
PokeListHeader.cs Use span for savefile slot API 2023-03-25 23:14:50 -07:00
PouchSize7b.cs File scoped namespaces (#3529) 2022-06-18 11:04:24 -07:00
WB7Records.cs Refactoring: Move Source (Legality) (#3560) 2022-08-03 16:15:27 -07:00
WR7GiftType.cs File scoped namespaces (#3529) 2022-06-18 11:04:24 -07:00