Difference between revisions of "Profile Selector"
Misson20000 (talk | contribs) m (add to Library Applets category) |
m |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | This is the | + | This is the applet presented when launching a game that allows the user to select a user. |
− | The profile selector expects a two [[AM_services#IStorage|IStorage]] inputs and a single [[AM_services#IStorage|IStorage]] output | + | See [[AM_services#Library_Applets]]. The profile selector expects a two [[AM_services#IStorage|IStorage]] inputs and a single [[AM_services#IStorage|IStorage]] output. |
− | |||
− | |||
== UserSelectionConfig == | == UserSelectionConfig == | ||
− | This has size 0xA0 and seems to only affect the UI display. | + | This has size 0xA0 and seems to only affect the UI display. Typical value is all zero with byte 0x96 equal to 0x01. |
− | Typical value is all zero with byte 0x96 equal to 0x01 | + | Setting the first byte to 1 will make the applet display in order to create a new user. |
+ | "starter" sets the first byte to 5 in order to display initial user setup. | ||
== Result == | == Result == | ||
+ | This is 0x18-bytes. | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 20: | Line 20: | ||
| 0x8 || 0x10 || UUID of selected user | | 0x8 || 0x10 || UUID of selected user | ||
|- | |- | ||
− | |||
|} | |} | ||
== Usage == | == Usage == | ||
− | + | User-processes should push a common arguments struct and the typical UserSelectionConfig struct as well. After pushing in the data and calling start, user-processes should wait upon the PopOutDataEvent and then pop a single IStorage to obtain the result structure described above. | |
− | |||
− | After pushing in the data and calling start, | ||
[[Category:Library Applets]] | [[Category:Library Applets]] |
Revision as of 15:09, 15 August 2019
This is the applet presented when launching a game that allows the user to select a user.
See AM_services#Library_Applets. The profile selector expects a two IStorage inputs and a single IStorage output.
UserSelectionConfig
This has size 0xA0 and seems to only affect the UI display. Typical value is all zero with byte 0x96 equal to 0x01. Setting the first byte to 1 will make the applet display in order to create a new user. "starter" sets the first byte to 5 in order to display initial user setup.
Result
This is 0x18-bytes.
Offset | Size | Notes |
---|---|---|
0x0 | 0x8 | Result (0 = Success, 2 = Failure) |
0x8 | 0x10 | UUID of selected user |
Usage
User-processes should push a common arguments struct and the typical UserSelectionConfig struct as well. After pushing in the data and calling start, user-processes should wait upon the PopOutDataEvent and then pop a single IStorage to obtain the result structure described above.