9 #include "../services/acc.h"
PselUserSelectionPurpose
UI message text to display with PselUiMode_UserSelector. Invalid values are handled as PselUserSelect...
Definition: psel.h:30
@ PselUserSelectionPurpose_SaveDataTransfer
[8.0.0+] "Send save data for which user?"
Definition: psel.h:40
@ PselUserSelectionPurpose_NintendoAccountLinkage
[2.0.0+] "Select a user to link to a Nintendo Account."
Definition: psel.h:36
@ PselUserSelectionPurpose_General
"Select a user."
Definition: psel.h:31
@ PselUserSelectionPurpose_PicturePost
[2.0.0+] "Who is posting?"
Definition: psel.h:35
@ PselUserSelectionPurpose_GameCardRegistration
[2.0.0+] "Who will receive the points?"
Definition: psel.h:32
@ PselUserSelectionPurpose_EShopLaunch
[2.0.0+] "Who is using Nintendo eShop?"
Definition: psel.h:33
@ PselUserSelectionPurpose_SaveDataDeletion
[2.0.0+] "Format data for which user?"
Definition: psel.h:38
@ PselUserSelectionPurpose_UserMigration
[4.0.0+] "Which user will be transferred to another console?"
Definition: psel.h:39
@ PselUserSelectionPurpose_SettingsUpdate
[2.0.0+] "Change settings for which user?"
Definition: psel.h:37
@ PselUserSelectionPurpose_EShopItemShow
[2.0.0+] "Who is making this purchase?"
Definition: psel.h:34
Result pselShowUserIconEditor(AccountUid user)
Shows the applet to change a user's icon.
Result pselShowUserNicknameEditor(AccountUid user)
Shows the applet to change a user's nickname.
Result pselShowNintendoAccountNnidLinker(AccountUid user)
Shows the applet for Nintendo Account Nnid linking.
static void pselUiSetAllowUserCreation(PselUiSettings *ui, bool flag)
Sets whether users can be created in the applet.
Definition: psel.h:117
Result pselShowUserSelector(AccountUid *out_user, const PselUserSelectionSettings *settings)
Shows the applet to select a user.
PselNintendoAccountStartupDialogType
NintendoAccountStartupDialogType.
Definition: psel.h:44
@ PselNintendoAccountStartupDialogType_LoginAndCreate
LoginAndCreate.
Definition: psel.h:45
@ PselNintendoAccountStartupDialogType_Create
Create.
Definition: psel.h:47
@ PselNintendoAccountStartupDialogType_Login
Login.
Definition: psel.h:46
Result pselShowUserCreatorForStarter(void)
Shows the applet to create a user.
Result pselShowUserQualificationPromoter(AccountUid user)
Shows the applet for UserQualificationPromoter.
void pselUiAddUser(PselUiSettings *ui, AccountUid user_id)
Adds an user to the user list of the applet.
Result pselShowUserSelectorForLauncher(AccountUid *out_user, const PselUserSelectionSettings *settings, u64 application_id)
This is the Launcher version of pselShowUserSelector.
static void pselUiSetSkipButtonEnabled(PselUiSettings *ui, bool flag)
Sets whether selection can be skipped with a button.
Definition: psel.h:137
Result pselUiShow(PselUiSettings *ui, AccountUid *out_user)
Shows the applet with the specified UI settings.
Result pselUiCreate(PselUiSettings *ui, PselUiMode mode)
Creates a new UI config for the playerSelect applet with the specified mode.
Result pselShowUserCreator(void)
Shows the applet to create a user.
PselUiMode
playerSelect UI modes.
Definition: psel.h:12
@ PselUiMode_LicenseRequirementsForNetworkService
[6.0.0+] LicenseRequirementsForNetworkService
Definition: psel.h:23
@ PselUiMode_NintendoAccountNnidLinker
[6.0.0+] NintendoAccountNnidLinker
Definition: psel.h:22
@ PselUiMode_UserQualificationPromoter
[13.0.0+] UserQualificationPromoter
Definition: psel.h:26
@ PselUiMode_UserCreatorForImmediateNaLoginTest
[7.0.0+] UserCreatorForImmediateNaLoginTest
Definition: psel.h:25
@ PselUiMode_LicenseRequirementsForNetworkServiceWithUserContextImpl
[7.0.0+] LicenseRequirementsForNetworkServiceWithUserContextImpl
Definition: psel.h:24
@ PselUiMode_IntroduceExternalNetworkServiceAccountForRegistration
[6.0.0+] IntroduceExternalNetworkServiceAccountForRegistration
Definition: psel.h:21
@ PselUiMode_UserNicknameEditor
UserNicknameEditor.
Definition: psel.h:17
@ PselUiMode_IntroduceExternalNetworkServiceAccount
IntroduceExternalNetworkServiceAccount.
Definition: psel.h:20
@ PselUiMode_NintendoAccountAuthorizationRequestContext
NintendoAccountAuthorizationRequestContext.
Definition: psel.h:19
@ PselUiMode_UserSelector
UserSelector.
Definition: psel.h:13
@ PselUiMode_UserCreatorForStarter
UserCreatorForStarter.
Definition: psel.h:18
@ PselUiMode_EnsureNetworkServiceAccountAvailable
EnsureNetworkServiceAccountAvailable.
Definition: psel.h:15
@ PselUiMode_UserCreator
UserCreator.
Definition: psel.h:14
@ PselUiMode_UserIconEditor
UserIconEditor.
Definition: psel.h:16
Result pselShowUserSelectorForSystem(AccountUid *out_user, const PselUserSelectionSettings *settings, const PselUserSelectionSettingsForSystemService *settings_system)
This is the System version of pselShowUserSelector.
static void pselUiSetNetworkServiceRequired(PselUiSettings *ui, bool flag)
Sets whether users need to be linked to a Nintendo account.
Definition: psel.h:128
Account UserId.
Definition: acc.h:25
Return data sent after execution.
Definition: psel.h:91
Result res
Result.
Definition: psel.h:92
AccountUid user_id
Selected AccountUid.
Definition: psel.h:93
Base UI settings for playerSelect.
Definition: psel.h:51
u8 unk_x92
Set to value 1 by pselShowUserSelectorForSystem / pselShowUserSelectorForLauncher.
Definition: psel.h:58
u32 mode
PselUiMode
Definition: psel.h:52
u8 unk_x97
[6.0.0+] Set to PselUserSelectionSettings::is_unqualified_user_selectable ^ 1.
Definition: psel.h:63
u8 is_permitted
isPermitted. With PselUiMode_UserSelector: enables the option to create a new user....
Definition: psel.h:59
u8 show_skip_button
PselUserSelectionSettings::show_skip_button.
Definition: psel.h:60
u8 is_network_service_account_required
PselUserSelectionSettings::is_network_service_account_required.
Definition: psel.h:56
u64 application_id
ApplicationId with pselShowUserSelectorForLauncher.
Definition: psel.h:55
u8 is_skip_enabled
PselUserSelectionSettings::is_skip_enabled.
Definition: psel.h:57
u8 additional_select
PselUserSelectionSettings::additional_select.
Definition: psel.h:61
u32 pad
Padding.
Definition: psel.h:53
u8 unk_x96
[2.0.0+] Set to PselUserSelectionSettingsForSystemService::enable_user_creation_button....
Definition: psel.h:62
UI settings for versions starting with 0x10000.
Definition: psel.h:67
PselUiSettingsV1 settings
PselUiSettingsV1
Definition: psel.h:68
u32 unk_x98
[2.0.0+] Set to PselUserSelectionSettingsForSystemService::purpose.
Definition: psel.h:69
[2.0.0+] UserSelectionSettingsForSystemService
Definition: psel.h:84
u8 enable_user_creation_button
Enables the user-creation button when set. Whether user-creation when pressing the button is actually...
Definition: psel.h:86
u32 purpose
PselUserSelectionPurpose
Definition: psel.h:85
UserSelectionSettings.
Definition: psel.h:74
u8 is_skip_enabled
isSkipEnabled. When set, the first user in invalid_uid_list must not be set, and additional_select mu...
Definition: psel.h:76
u8 show_skip_button
showSkipButton. Enables the option to skip user selection with a button.
Definition: psel.h:78
u8 is_network_service_account_required
isNetworkServiceAccountRequired. Whether the user needs to be linked to a Nintendo account.
Definition: psel.h:77
u8 additional_select
additionalSelect.
Definition: psel.h:79
u8 is_unqualified_user_selectable
[6.0.0+] isUnqualifiedUserSelectable
Definition: psel.h:80
uint64_t u64
64-bit unsigned integer.
Definition: types.h:22
uint8_t u8
8-bit unsigned integer.
Definition: types.h:19
u32 Result
Function error code result type.
Definition: types.h:44
#define NX_CONSTEXPR
Flags a function as constexpr in C++14 and above; or as (always) inline otherwise.
Definition: types.h:92
uint32_t u32
32-bit unsigned integer.
Definition: types.h:21