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

Method profileNames

launcher/minecraft/auth/AccountList.cpp:98–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98QStringList AccountList::profileNames() const {
99 QStringList out;
100 for(auto & account: m_accounts) {
101 auto profileName = account->profileName();
102 if(profileName.isEmpty()) {
103 continue;
104 }
105 out.append(profileName);
106 }
107 return out;
108}
109
110void AccountList::addAccount(const MinecraftAccountPtr account)
111{

Callers

nothing calls this directly

Calls 3

isEmptyMethod · 0.80
appendMethod · 0.80
profileNameMethod · 0.45

Tested by

no test coverage detected