You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-18 16:16:35 +09:00
Exception message clarified
This commit is contained in:
@@ -274,7 +274,7 @@ namespace Lidgren.Network
|
|||||||
throw new ArgumentNullException("recipient");
|
throw new ArgumentNullException("recipient");
|
||||||
|
|
||||||
if (msg.IsSent)
|
if (msg.IsSent)
|
||||||
throw new NetException("Message has already been sent!");
|
throw new NetException("Message has already been sent! To send to multiple recipients use SendMessage(... IEnumerable<NetConnection...)");
|
||||||
if (channel < 0 || channel > 63)
|
if (channel < 0 || channel > 63)
|
||||||
throw new NetException("Channel must be between 0 and 63");
|
throw new NetException("Channel must be between 0 and 63");
|
||||||
if (channel != 0 && (deliveryMethod == NetDeliveryMethod.Unreliable || deliveryMethod == NetDeliveryMethod.ReliableUnordered))
|
if (channel != 0 && (deliveryMethod == NetDeliveryMethod.Unreliable || deliveryMethod == NetDeliveryMethod.ReliableUnordered))
|
||||||
|
|||||||
Reference in New Issue
Block a user