ModernUO/Projects/Server/Json/Converters
Kamron Batman 03f850fe03
fix: Fixes sending packets and sidesteps a major issue with stackalloc and PGO in .NET 8 (#1607)
### Summary
- Works around a sneaky edge case bug in the JIT with stackalloc where sometimes the buffer is not zero'd.
- Fixes SendDisplayBoatHS
- Fixes sending health bars in the `SendEverything()` logic.
- Fixes a bug in sizing for some string helper functions.

### Developer Note
We are enabled `SkipLocalsInit` - do not rely on `stackalloc` to be zero'd. To zero the buffer, use `span.Clear();`

Closes #1606
2023-11-21 12:18:20 -08:00
..
BitArrayEnumIndexConverter.cs fix: Removes custom BitArray (#1597) 2023-11-17 14:37:07 -08:00
ClientVersionConverter.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00
ClientVersionConverterFactory.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00
FlagsConverter.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00
GuidConverter.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00
GuidConverterFactory.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00
IPEndPointConverter.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00
IPEndPointConverterFactory.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00
MapConverter.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00
MapConverterFactory.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00
Point2DConverter.cs fix: Fixes sending packets and sidesteps a major issue with stackalloc and PGO in .NET 8 (#1607) 2023-11-21 12:18:20 -08:00
Point2DConverterFactory.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00
Point3DConverter.cs fix: Fixes sending packets and sidesteps a major issue with stackalloc and PGO in .NET 8 (#1607) 2023-11-21 12:18:20 -08:00
Point3DConverterFactory.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00
Rectangle3DConverter.cs fix: Fixes sending packets and sidesteps a major issue with stackalloc and PGO in .NET 8 (#1607) 2023-11-21 12:18:20 -08:00
Rectangle3DConverterFactory.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00
RegionByNameConverter.cs fix: Drastically simplifies regions (#1400) 2023-05-19 16:39:40 -07:00
RegionByNameConverterFactory.cs fix: Drastically simplifies regions (#1400) 2023-05-19 16:39:40 -07:00
TextDefinitionConverter.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00
TextDefinitionConverterFactory.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00
TimeSpanConverter.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00
TimeSpanConverterFactory.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00
TypeConverter.cs fix: Fixes JSON TypeConverter so that it can deserialize full name types (#1466) 2023-08-21 21:25:09 -07:00
TypeConverterFactory.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00
WorldLocationConverter.cs fix: Fixes sending packets and sidesteps a major issue with stackalloc and PGO in .NET 8 (#1607) 2023-11-21 12:18:20 -08:00
WorldLocationConverterFactory.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00