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

Method MakeOffline

launcher/minecraft/auth/AuthSession.cpp:22–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22bool AuthSession::MakeOffline(QString offline_playername)
23{
24 if (status != PlayableOffline && status != PlayableOnline)
25 {
26 return false;
27 }
28 session = "-";
29 player_name = offline_playername;
30 status = PlayableOffline;
31 return true;
32}
33
34void AuthSession::MakeDemo() {
35 player_name = "Player";

Callers 1

loginMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected