ModernUO/Projects/UOContent
Kamron Batman d070efeab3
fix(houses): Converts house packets (1 of 2) (#502)
- [X] Adds `ToSpan()` for SpanWriter.
- [X] Moves house files to UOContent/Multis/Houses
- [X] Adds house packets

### SpanWriter.ToSpan()
`ToSpan()` returns an `SpanOwner` struct which allows access to the buffer as a Span by calling `Span`.

Example:
```cs
public SpanOwner CreatePacket()
{
  var writer = new SpanWriter(0x400);
  // write some stuff
  return writer.ToSpan();
}
```
In this example, we are creating a packet and returning the `SpanOwner` for caching. This means in the future we can do something like this:
```cs
ns.Send(_cachedPacket.Span);
```
Where `_cachedPacket` is the `SpanOwner`

Notes:
Do not use a SpanWriter, or attempt to dispose of it after calling `ToSpan()`. Doing so will probably cause an NPE.
2021-02-13 09:18:12 -08:00
..
Accounting fix(core): Handles a rare NPE with LoginTimer (#508) 2021-02-11 23:47:02 -08:00
Commands fix(core): Tightens the network stack (#479) 2021-02-07 23:30:56 -08:00
Configuration Rearranges packet code (#295) 2020-10-30 22:49:00 -07:00
Context Menus Cleanup & Fixes for .NET 5 (#309) 2020-11-15 10:03:50 -08:00
Engines fix(core): Tightens the network stack (#479) 2021-02-07 23:30:56 -08:00
Gumps fix(core): Tightens the network stack (#479) 2021-02-07 23:30:56 -08:00
Holiday Stuff fix(core): Fixes several serialization issues (#355) 2020-12-23 07:11:41 -08:00
Items fix(core): Handles a rare NPE with LoginTimer (#508) 2021-02-11 23:47:02 -08:00
Json/Converters Fixes brace style (#248) 2020-09-13 21:49:46 -07:00
Misc fix(core): Handles a rare NPE with LoginTimer (#508) 2021-02-11 23:47:02 -08:00
Mobiles fix(core): Tightens the network stack (#479) 2021-02-07 23:30:56 -08:00
Multis fix(houses): Converts house packets (1 of 2) (#502) 2021-02-13 09:18:12 -08:00
Network fix(core): Tightens the network stack (#479) 2021-02-07 23:30:56 -08:00
Regions fix(core): Fixes type caching & cleanup (#422) 2021-01-20 00:10:33 -08:00
Skills fix(core): Removes 6017 handler (#411) 2021-01-16 13:43:16 -08:00
Special Systems fix(core): Converts some packets & misc fixes/cleanup (#414) 2021-01-16 21:01:54 -08:00
Spells chore(content): Cleans up abilities and some spell timers (#427) 2021-01-23 16:40:53 -08:00
Targets fix(core): Removes some uses of Linq (#421) 2021-01-18 21:05:11 -08:00
UOContent.csproj fix(party): Converts party packets (#401) 2021-01-10 14:23:10 -08:00