fCraft.PlayerEnumerable.SendLowPriority C# (CSharp) Method

SendLowPriority() public static method

Broadcasts a packet with low priority.
public static SendLowPriority ( [ source, Packet packet ) : int
source [ List of players who will receive the packet.
packet Packet Packet to send.
return int
        public static int SendLowPriority( [NotNull] this IEnumerable<Player> source, Packet packet ) {
            if( source == null ) throw new ArgumentNullException( "source" );
            int i = 0;
            foreach( Player player in source ) {
                player.SendLowPriority( packet );
                i++;
            }
            return i;
        }

Same methods

PlayerEnumerable::SendLowPriority ( [ source, [ except, Packet packet ) : int