ModernUO/Projects/Server/Network
Kamron Batman 6f0e1a22f9
fix(core): Core cleanup, adds event loop synchronization, and fixes gumps (#429)
- [X] Cleans up gump packets
- [X] Adds event loop task synchronization
- [X] Moves timer pause and cleans up the delay task timer class
- [X] Cleans up the conserve cpu
- [X] Renames variables to make them consistent with the new style
- [X] Removes process delta recursion checking.
- [X] Properly diposes net states. This fixes edge cases that may cause hanging connections to stay open longer than they should.
- [X] Fixes an issue with gump items not compiling properly

Users can now utilize `Timer.Pause()` since the code will be executed on the proper thread.

```cs
public void async void Talk()
{
    _canTalk = false;
    await Timer.Pause(Utility.RandomMinMax(5000, 8000)); // Talk after 5-8 seconds
    DoTalk();
    await Timer.Pause(Utility.RandomMinMax(12000, 25000)); // Reset ability to talk after 12-25 seconds
    _canTalk = true;
}
```
2021-01-25 21:06:46 -08:00
..
NetState fix(core): Core cleanup, adds event loop synchronization, and fixes gumps (#429) 2021-01-25 21:06:46 -08:00
Packets fix(core): Core cleanup, adds event loop synchronization, and fixes gumps (#429) 2021-01-25 21:06:46 -08:00
EncodedPacketHandler.cs Renames pvSrc (#277) 2020-10-17 22:04:44 -07:00
EncodedReader.cs Update Readers/Writers for Buffers & Fixes bugs (#283) 2020-10-24 14:46:59 -07:00
ISocket.cs fix(core): Core cleanup, adds event loop synchronization, and fixes gumps (#429) 2021-01-25 21:06:46 -08:00
NetworkCompression.cs fix(core): Cleans up networking (#386) 2021-01-05 00:41:22 -08:00
NetworkSocket.cs fix(core): Core cleanup, adds event loop synchronization, and fixes gumps (#429) 2021-01-25 21:06:46 -08:00
NetworkState.cs fix(core): Core cleanup, adds event loop synchronization, and fixes gumps (#429) 2021-01-25 21:06:46 -08:00
Packet.cs C# 9 Cleanup (#325) 2020-11-27 00:29:21 -08:00
PacketHandler.cs fix(core): Removes 6017 handler (#411) 2021-01-16 13:43:16 -08:00
PacketUtilities.cs fix(core): Converts BB packets (#406) 2021-01-13 22:28:31 -08:00
PacketWriter.cs C# 9 Cleanup (#325) 2020-11-27 00:29:21 -08:00
Pipe.cs chore: Code cleanup (#399) 2021-01-10 09:14:03 -08:00
ServerInfo.cs fix(core): Adds IPv6 support (#348) 2020-12-19 00:27:39 -08:00
TcpServer.cs fix(core): Core cleanup, adds event loop synchronization, and fixes gumps (#429) 2021-01-25 21:06:46 -08:00