private void SendPacket(byte[] bytes, GenericChannel channel, IPAddress ip, int port) { _connection.SendPacket(ArrayUtils.AddByteToArray(bytes, _channelNumbers[channel]), ip, port); }
private void SendPacket(byte[] bytes, GenericChannel channel) { _other.ReceivePacket(ArrayUtils.AddByteToArray(bytes, _channelNumbers[channel])); }