ModernUO/Projects/UOContent/Multis/Houses
Kamron Batman 10a69bf754
feat: Adds a memory mirrored ring buffer for networking. (#1533)
## Breaking Changes

Incoming packet registration signature has changed to:
```cs
delegate* void OnReceiveCallback(NetState state, SpanReader reader, int packetLength);

IncomingPackets.Register(int packetID, int length, bool ingame, OnReceiveCallback onReceive);
```

For example, an incoming packet handler signature would now look like this:
```cs
public static void SomeIncomingPacket(NetState state, SpanReader reader, int packetLength)
{
    // Parse the data
}
```

## Summary

Updates the network Pipe class to use a mirrored memory technique. This technique involves mapping the same physical memory to two contiguous virtual memory spaces so the byte buffer appears duplicated. This allows writing to a double-sized array to wrap around without the need for the `CircularBuffer` classes.

In practice this allows us to use `Span<byte>` as if the buffer was a regular array.


### Bug Fixes

- [X] Fixes bad fixed length string parsing
2023-10-09 00:57:53 -07:00
..
BaseHouse.cs fix: Removes timer error for world in initial state, and removes OPL requirement for spellbooks (#1197) 2022-10-19 02:32:04 -07:00
ContestHouses.cs fix: Fixes structured logging (#1043) 2022-06-05 01:00:22 -07:00
HouseFoundation.cs feat: Adds a memory mirrored ring buffer for networking. (#1533) 2023-10-09 00:57:53 -07:00
HousePackets.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00
HousePlacement.cs fix: Fixes regions having the wrong type (#1260) 2022-11-21 16:47:40 -08:00
HousePlacementTool.cs fix: Update LabelTo, SendMessage, etc to Interpolated Strings (#1283) 2022-11-28 19:58:12 -08:00
Houses.cs fix(houses): Converts house packets (1 of 2) (#502) 2021-02-13 09:18:12 -08:00
HouseSign.cs fix: Update LabelTo, SendMessage, etc to Interpolated Strings (#1283) 2022-11-28 19:58:12 -08:00
HouseTeleporter.cs fix: Cleans up Point checks and removes statics (#966) 2022-03-20 23:15:59 -07:00
MovingCrate.cs chore: Cleans up pattern checks. (#892) 2021-12-24 15:53:59 -08:00
PreviewHouse.cs fix: Fixes spell mechanics and misc bugs (#1118) 2022-07-14 22:01:59 -07:00