Network: Remove NetPacket class

It was badly designed
This commit is contained in:
SirLynix
2024-02-24 18:03:36 +01:00
parent 03ff328b5b
commit 7956e1552b
15 changed files with 44 additions and 711 deletions

View File

@@ -73,7 +73,7 @@ namespace Nz
void Reset();
bool Send(UInt8 channelId, ENetPacketRef packetRef);
bool Send(UInt8 channelId, ENetPacketFlags flags, NetPacket&& packet);
bool Send(UInt8 channelId, ENetPacketFlags flags, ByteArray&& payload);
void SimulateNetwork(double packetLossProbability, UInt16 minDelay, UInt16 maxDelay);