1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-16 07:06:30 +09:00

Added configuration setting to suppress acks for unreliable unordered messages

This commit is contained in:
Michael Lidgren
2015-04-13 13:25:30 +02:00
parent 86a695cf2b
commit 2d060cced8
4 changed files with 30 additions and 4 deletions

View File

@@ -377,7 +377,7 @@ namespace Lidgren.Network
{
case NetDeliveryMethod.Unreliable:
case NetDeliveryMethod.UnreliableSequenced:
chan = new NetUnreliableSenderChannel(this, NetUtility.GetWindowSize(method));
chan = new NetUnreliableSenderChannel(this, NetUtility.GetWindowSize(method), method);
break;
case NetDeliveryMethod.ReliableOrdered:
chan = new NetReliableSenderChannel(this, NetUtility.GetWindowSize(method));