Example #1
0
    /// <summary>
    /// Sending data from the bitstream to all clients ignoring the specified client guid using priority, reliability and channel
    /// </summary>
    /// <param name="stream">Bitstream from which to send data</param>
    /// <param name="ignore_guid">client guid to ignore</param>
    /// <param name="priority">Packet priority</param>
    /// <param name="reliability">Packet Reliability</param>
    /// <param name="channel">Channel number through which data will be sent (32 channels available)</param>
    public byte SendToAllIgnore(BitStream stream, ulong ignore_guid, PacketPriority priority = PacketPriority.IMMEDIATE_PRIORITY, PacketReliability reliability = PacketReliability.RELIABLE, byte channel = 0)
    {
        if (!peer.IsActive())
        {
            return(0);
        }

        return(peer.SendToAllIgnore(stream, ignore_guid, priority, reliability, channel));
    }