Profile Selector: Difference between revisions
No edit summary |
|||
Line 24: | Line 24: | ||
| 0x0 || 0x4 || [[#UiMode]] | | 0x0 || 0x4 || [[#UiMode]] | ||
|- | |- | ||
| 0x4 || 0x4 || | | 0x4 || 0x4 || Padding. | ||
|- | |- | ||
| 0x8 || 0x80 || u128 invalidUidList[8]. This is copied from [[#UserSelectionSettings]]. | | 0x8 || 0x80 || u128 invalidUidList[8]. This is copied from [[#UserSelectionSettings]]. | ||
Line 36: | Line 36: | ||
| 0x92 || 0x1 || Set to 0x1 by ShowUserSelectorForSystem/ShowUserSelectorForLauncher. | | 0x92 || 0x1 || Set to 0x1 by ShowUserSelectorForSystem/ShowUserSelectorForLauncher. | ||
|- | |- | ||
| 0x93 || 0x1 || u8 isPermitted. ShowUserSelector* sets this to the output bool from [[Account_services#IsUserRegistrationRequestPermitted|IsUserRegistrationRequestPermitted]]. | | 0x93 || 0x1 || u8 isPermitted. ShowUserSelector* sets this to the output bool from [[Account_services#IsUserRegistrationRequestPermitted|IsUserRegistrationRequestPermitted]]. With [[#UiMode|UserSelector]] this enables the option to create a new user. When not set, a dialog will be displayed when the user attempts to create an user. | ||
|- | |- | ||
| 0x94 || 0x1 || u8 showSkipButton. This is copied from [[#UserSelectionSettings]]. | | 0x94 || 0x1 || u8 showSkipButton. This is copied from [[#UserSelectionSettings]]. | ||
Line 100: | Line 100: | ||
| 0x80 || 0x1 || u8 isSkipEnabled | | 0x80 || 0x1 || u8 isSkipEnabled | ||
|- | |- | ||
| 0x81 || 0x1 || u8 isNetworkServiceAccountRequired | | 0x81 || 0x1 || u8 isNetworkServiceAccountRequired. Whether the user needs to be linked to a Nintendo account. | ||
|- | |- | ||
| 0x82 || 0x1 || u8 showSkipButton | | 0x82 || 0x1 || u8 showSkipButton. Enables the option to skip user selection with a button. | ||
|- | |- | ||
| 0x83 || 0x1 || u8 additionalSelect | | 0x83 || 0x1 || u8 additionalSelect | ||
Line 118: | Line 118: | ||
| 0x0 || 0x4 || [[#UserSelectionPurpose]] | | 0x0 || 0x4 || [[#UserSelectionPurpose]] | ||
|- | |- | ||
| 0x4 || 0x1 || | | 0x4 || 0x1 || Enables the user-creation button when set. Whether user-creation when pressing the button is actually allowed is controlled by [[#UiSettings]] isPermitted. | ||
|- | |- | ||
| 0x5 || 0x3 || u8 padding[3] | | 0x5 || 0x3 || u8 padding[3] | ||
Line 130: | Line 130: | ||
! Offset || Size || Description | ! Offset || Size || Description | ||
|- | |- | ||
| 0x0 || 0x8 || Result | | 0x0 || 0x8 || Result | ||
|- | |- | ||
| 0x8 || 0x10 || | | 0x8 || 0x10 || Uid of selected user. | ||
|} | |} | ||