MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / requestRefresh

Method requestRefresh

launcher/minecraft/auth/AccountList.cpp:610–621  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

608}
609
610void AccountList::requestRefresh(QString accountId)
611{
612 auto index = m_refreshQueue.indexOf(accountId);
613 if (index != -1) {
614 m_refreshQueue.removeAt(index);
615 }
616 m_refreshQueue.push_front(accountId);
617 qDebug() << "AccountList: Pushed account with internal ID " << accountId << " to the front of the queue";
618 if (!isActive()) {
619 tryNext();
620 }
621}
622
623void AccountList::queueRefresh(QString accountId)
624{

Callers 2

loginMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected