PKHeX/PKHeX.Core/Saves/Substructures/Gen6
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
..
OPower Update from .NET Framework 4.6 to .NET 7 (#3729) 2023-01-21 20:02:33 -08:00
SecretBase Update from .NET Framework 4.6 to .NET 7 (#3729) 2023-01-21 20:02:33 -08:00
BattleBox6.cs File scoped namespaces (#3529) 2022-06-18 11:04:24 -07:00
BoxLayout6.cs Update from .NET Framework 4.6 to .NET 7 (#3729) 2023-01-21 20:02:33 -08:00
ConfigSave6.cs File scoped namespaces (#3529) 2022-06-18 11:04:24 -07:00
Encount6.cs Update from .NET Framework 4.6 to .NET 7 (#3729) 2023-01-21 20:02:33 -08:00
Fashion6XY.cs Update from .NET Framework 4.6 to .NET 7 (#3729) 2023-01-21 20:02:33 -08:00
GameTime6.cs File scoped namespaces (#3529) 2022-06-18 11:04:24 -07:00
HallFame6Entity.cs Update from .NET Framework 4.6 to .NET 7 (#3729) 2023-01-21 20:02:33 -08:00
IGymTeamInfo.cs File scoped namespaces (#3529) 2022-06-18 11:04:24 -07:00
ItemInfo6.cs Encapsulate item pouch arrays/etc for finer control (#3860) 2023-04-16 12:58:07 -07:00
LinkBlock6.cs File scoped namespaces (#3529) 2022-06-18 11:04:24 -07:00
MaisonBlock.cs File scoped namespaces (#3529) 2022-06-18 11:04:24 -07:00
Misc6AO.cs File scoped namespaces (#3529) 2022-06-18 11:04:24 -07:00
Misc6XY.cs File scoped namespaces (#3529) 2022-06-18 11:04:24 -07:00
MyItem6AO.cs Encapsulate item pouch arrays/etc for finer control (#3860) 2023-04-16 12:58:07 -07:00
MyItem6XY.cs Encapsulate item pouch arrays/etc for finer control (#3860) 2023-04-16 12:58:07 -07:00
MyStatus6.cs Add more xmldoc 2023-03-31 13:00:34 -07:00
MyStatus6XY.cs Update from .NET Framework 4.6 to .NET 7 (#3729) 2023-01-21 20:02:33 -08:00
MysteryBlock6.cs Use span for savefile slot API 2023-03-25 23:14:50 -07:00
PlayTime6.cs File scoped namespaces (#3529) 2022-06-18 11:04:24 -07:00
PSS6.cs Refactoring: Move Source (Legality) (#3560) 2022-08-03 16:15:27 -07:00
Puff6.cs Less allocation, minor tweaks 2023-03-27 00:11:42 -07:00
RecordBlock6.cs Update from .NET Framework 4.6 to .NET 7 (#3729) 2023-01-21 20:02:33 -08:00
SangoInfoBlock.cs Update from .NET Framework 4.6 to .NET 7 (#3729) 2023-01-21 20:02:33 -08:00
SecretBase6Block.cs File scoped namespaces (#3529) 2022-06-18 11:04:24 -07:00
Situation6.cs Fixed error getting Z coordinate (#3567) 2022-08-12 07:58:23 -07:00
SubEventLog6.cs File scoped namespaces (#3529) 2022-06-18 11:04:24 -07:00
SuperTrainBlock.cs Refactoring: Narrow some value types (Species, Move, Form) (#3575) 2022-08-26 23:43:36 -07:00
TrainerFashion6.cs File scoped namespaces (#3529) 2022-06-18 11:04:24 -07:00
TrainerSprite6.cs File scoped namespaces (#3529) 2022-06-18 11:04:24 -07:00