PKHeX/PKHeX.Core/Legality/Encounters/Data
Kurt 47071b41f3
Refactoring: Span-based value writes and method signatures (#3361)
Existing `get`/`set` logic is flawed in that it doesn't work on Big Endian operating systems, and it allocates heap objects when it doesn't need to.

`System.Buffers.Binary.BinaryPrimitives` in the `System.Memory` NuGet package provides both Little Endian and Big Endian methods to read and write data; all the `get`/`set` operations have been reworked to use this new API. This removes the need for PKHeX's manual `BigEndian` class, as all functions are already covered by the BinaryPrimitives API.

The `StringConverter` has now been rewritten to accept a Span to read from & write to, no longer requiring a temporary StringBuilder.

Other Fixes included:
- The Super Training UI for Gen6 has been reworked according to the latest block structure additions.
- Cloning a Stadium2 Save File now works correctly (opening from the Folder browser list).
- Checksum & Sanity properties removed from parent PKM class, and is now implemented via interface.
2022-01-02 21:35:59 -08:00
..
EncounterEvent.cs Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
Encounters1.cs Remove Tradeback state caching in PKM data 2021-08-20 15:59:54 -07:00
Encounters2.cs Remove unnecessary trailing comma 2021-12-09 19:10:50 -08:00
Encounters3.cs Remove unnecessary trailing comma 2021-12-09 19:10:50 -08:00
Encounters3GC.cs Fix incorrect met locations in XD GoD (#3250) 2021-08-27 07:33:12 -07:00
Encounters3Shadow.cs Split gen3 encounter listing to have CXD separate 2021-03-21 19:52:48 -07:00
Encounters3Teams.cs Arrange CXD Shadow encounters, add ShadowID documentation 2021-08-21 17:01:50 -07:00
Encounters4.cs Remove unnecessary trailing comma 2021-12-09 19:10:50 -08:00
Encounters5.cs Remove unnecessary trailing comma 2021-12-09 19:10:50 -08:00
Encounters6.cs Remove unnecessary trailing comma 2021-12-09 19:10:50 -08:00
Encounters7.cs Remove unnecessary trailing comma 2021-12-09 19:10:50 -08:00
Encounters7b.cs Remove unnecessary trailing comma 2021-12-09 19:10:50 -08:00
Encounters8.cs Add Slippery Slope Weavile static encounter 2021-12-24 20:06:31 -06:00
Encounters8b.cs Label more BDSP flags/work vals 2021-11-27 23:12:29 -05:00
Encounters8Nest.cs Remove inaccessible water nest encounters 2021-06-05 18:11:19 -05:00
Encounters8NestCrystal.cs Unban Pika/vee Dynamax Crystal encounters 2021-10-09 21:40:49 -04:00
Encounters8NestDistBase.cs Remove another duplicated distribution index 2021-06-06 21:46:23 -05:00
Encounters8NestDistDLC1.cs Clean up duplicated distribution indices 2021-06-05 16:33:41 -05:00
Encounters8NestDistDLC2.cs Add New Year's distribution raid data 2021-12-31 19:04:35 -05:00
Encounters8NestLair.cs Target type'd new 2020-12-21 17:17:56 -08:00
EncountersGO.cs Allow reload for debug build 2021-09-21 19:42:14 -07:00
EncountersHOME.cs Change interface for method call to less restricted 2021-07-13 18:22:04 -07:00
EncountersWC3.cs Add nickname checks for WC3, add non-english ageto/colo 2021-09-30 19:57:52 -07:00
EncounterUtil.cs Replace linq with similar but faster logic 2021-08-05 20:47:32 -07:00