mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-26 05:50:22 +00:00
fa9a809751
* 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. |
||
---|---|---|
.. | ||
Localization | ||
ArrayUtil.cs | ||
BinaryCodedDecimal.cs | ||
ComboItemUtil.cs | ||
DateUtil.cs | ||
FileUtil.cs | ||
FlagUtil.cs | ||
MessageStrings.cs | ||
NetUtil.cs | ||
PathUtil.cs | ||
RandUtil.cs | ||
ReflectUtil.cs | ||
ResourceUtil.cs | ||
StringUtil.cs | ||
UpdateUtil.cs | ||
Util.cs | ||
ValueTypeTypeConverter.cs |