MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / LookupServerAddress

Method LookupServerAddress

launcher/launch/steps/LookupServerAddress.cpp:21–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19#include <launch/LaunchTask.h>
20
21LookupServerAddress::LookupServerAddress(LaunchTask *parent) :
22 LaunchStep(parent), m_dnsLookup(new QDnsLookup(this))
23{
24 connect(m_dnsLookup, &QDnsLookup::finished, this, &LookupServerAddress::on_dnsLookupFinished);
25
26 m_dnsLookup->setType(QDnsLookup::SRV);
27}
28
29void LookupServerAddress::setLookupAddress(const QString &lookupAddress)
30{

Callers

nothing calls this directly

Calls 1

setTypeMethod · 0.80

Tested by

no test coverage detected