MCPcopy Create free account
hub / github.com/XorTroll/Goldleaf / IsLinked

Function IsLinked

Goldleaf/source/acc/acc_UserSelection.cpp:164–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162 }
163
164 bool IsLinked() {
165 bool linked = false;
166 AccountExtAdministrator baas_admin;
167 const auto rc = accountextGetBaasAccountAdministrator(g_SelectedUser, &baas_admin);
168 if(R_SUCCEEDED(rc)) {
169 accountextAdministratorIsLinkedWithNintendoAccount(&baas_admin, &linked);
170 accountextAdministratorClose(&baas_admin);
171 }
172 return linked;
173 }
174
175 Result UnlinkLocally() {
176 AccountExtAdministrator baas_admin;

Callers 1

ReloadItemsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected