static private BroadcastExclusive ( ushort userID, byte channel, byte data, |
||
userID | ushort | |
channel | byte | |
data | byte | |
client | ||
리턴 | void |
static void BroadcastExclusive(ushort userID, byte channel, byte[] data, Client client = null)
{
foreach (Client c in Listener.Clients)
{
if (c.Value.Authenticated && c.Value.Verified && c.Value.Channel == channel && c.Value.UserId != userID)
{
if (client != null && !client.Value.Mute.Contains(c) && !c.Value.Mute.Contains(client))
c.Send(data);
}
}
}