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

Method incrementUses

launcher/minecraft/auth/MinecraftAccount.cpp:379–389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377}
378
379void MinecraftAccount::incrementUses()
380{
381 bool wasInUse = isInUse();
382 Usable::incrementUses();
383 if(!wasInUse)
384 {
385 emit changed();
386 // FIXME: we now need a better way to identify accounts...
387 qWarning() << "Profile" << data.profileId() << "is now in use.";
388 }
389}

Callers

nothing calls this directly

Calls 1

profileIdMethod · 0.45

Tested by

no test coverage detected