ModernUO/Projects/UOContent/Skills
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
..
Tracking feat: Adds a memory mirrored ring buffer for networking. (#1533) 2023-10-09 00:57:53 -07:00
Anatomy.cs fix: Fixes crafter deserialize, cleans up bandages, and codegens misc items (#1350) 2023-02-25 00:54:12 -08:00
AnimalLore.cs Fixes brace style (#248) 2020-09-13 21:49:46 -07:00
AnimalTaming.cs fix: Cleans up entity persistence. Generalizes Mobiles/Items/Guilds (#1528) 2023-10-01 22:10:47 -07:00
AntiMacroSystem.cs fix: Overhauls virtue system (#1376) 2023-07-19 21:43:47 -07:00
ArmsLore.cs fix: Fixes crafter deserialize, cleans up bandages, and codegens misc items (#1350) 2023-02-25 00:54:12 -08:00
Begging.cs fix: Fixes tick count calculcations (#1366) 2023-03-09 21:00:17 -08:00
DetectHidden.cs chore(content): Updates to C# 9 syntax (#373) 2020-12-30 12:50:10 -08:00
Discordance.cs fix: Adds name support for all mods (#1128) 2022-10-15 10:46:31 -07:00
EvalInt.cs fix: Fixes crafter deserialize, cleans up bandages, and codegens misc items (#1350) 2023-02-25 00:54:12 -08:00
ForensicEval.cs feat: Customize expansion and set maps on first boot (#1425) 2023-07-31 20:46:49 -07:00
Hiding.cs fix: Fixes crafter deserialize, cleans up bandages, and codegens misc items (#1350) 2023-02-25 00:54:12 -08:00
Inscribe.cs chore: Cleans up pattern checks. (#892) 2021-12-24 15:53:59 -08:00
ItemIdentification.cs Removes literal variables (#257) 2020-09-18 18:41:26 -07:00
Meditation.cs fix: Cleanup IPoint3D calls (#704) 2021-08-19 09:11:48 -07:00
Peacemaking.cs chore: Cleans up pattern checks. (#892) 2021-12-24 15:53:59 -08:00
Poisoning.cs chore: Cleans up pattern checks. (#892) 2021-12-24 15:53:59 -08:00
Provocation.cs fix: Fixes provocation for pre-pub 16 (#1335) 2023-02-07 23:33:45 -08:00
RemoveTrap.cs fix: Fixes crafter deserialize, cleans up bandages, and codegens misc items (#1350) 2023-02-25 00:54:12 -08:00
SkillCheck.cs fix: Overhauls antimacro system (#1403) 2023-05-19 16:32:51 -07:00
SkillsInfo.cs feat: Moves skills to json file (#1411) 2023-06-16 05:55:55 -07:00
Snooping.cs fix: Fixes snooping staff (#900) 2021-12-28 02:09:25 -08:00
SpiritSpeak.cs fix: Fixes crafter deserialize, cleans up bandages, and codegens misc items (#1350) 2023-02-25 00:54:12 -08:00
Stealing.cs fix: Updates disguises and codegens tinkering items (#1353) 2023-02-25 12:01:06 -08:00
Stealth.cs fix: Updates races to properly support gargoyle equipment. (#744) 2021-08-29 00:43:55 -07:00
TasteID.cs Removes literal variables (#257) 2020-09-18 18:41:26 -07:00