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

Function SelectUser

Goldleaf/source/acc/acc_UserSelection.cpp:71–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 }
70
71 bool SelectUser() {
72 AccountUid user_id;
73 if(R_SUCCEEDED(ShowUserSelector(&user_id))) {
74 if(accountUidIsValid(&user_id)) {
75 SetSelectedUser(user_id);
76 return true;
77 }
78 }
79 return false;
80 }
81
82 Result ReadSelectedUser(AccountProfileBase *out_prof_base, AccountUserData *out_user_data) {
83 AccountProfile prof;

Callers 2

account_DefaultKeyMethod · 0.85
PickUserMethod · 0.85

Calls 2

ShowUserSelectorFunction · 0.85
SetSelectedUserFunction · 0.85

Tested by

no test coverage detected