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

Changed NetPeer.SendMessage parameter from List to IList

This commit is contained in:
Joshjje
2015-02-01 11:00:32 -05:00
parent 5879fb641e
commit 1abb872919

View File

@@ -95,7 +95,7 @@ namespace Lidgren.Network
/// <param name="recipients">The list of recipients to send to</param> /// <param name="recipients">The list of recipients to send to</param>
/// <param name="method">How to deliver the message</param> /// <param name="method">How to deliver the message</param>
/// <param name="sequenceChannel">Sequence channel within the delivery method</param> /// <param name="sequenceChannel">Sequence channel within the delivery method</param>
public void SendMessage(NetOutgoingMessage msg, List<NetConnection> recipients, NetDeliveryMethod method, int sequenceChannel) public void SendMessage(NetOutgoingMessage msg, IList<NetConnection> recipients, NetDeliveryMethod method, int sequenceChannel)
{ {
if (msg == null) if (msg == null)
throw new ArgumentNullException("msg"); throw new ArgumentNullException("msg");