MyPage Applet: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
This is the MyPage applet launched by Home Menu. Official sw uses this under <code>nn::friends</code>. | This is the MyPage applet launched by Home Menu. Official sw uses this under <code>nn::friends</code>. | ||
See [[AM_services#Library_Applets]]. | See [[AM_services#Library_Applets]]. | ||
== Library Applet Versions == | |||
{| class="wikitable" border="1" | |||
|- | |||
! System Version || Value | |||
|- | |||
| [1.0.0+] || 0x1 | |||
|- | |||
| [9.0.0+] || 0x10000 | |||
|} | |||
== Arg == | == Arg == | ||
Line 20: | Line 30: | ||
|- | |- | ||
| 0x68 || 0x48 || [[Friend_services|InAppScreenName]] | | 0x68 || 0x48 || [[Friend_services|InAppScreenName]] | ||
|- | |||
| 0xB0 || 0xFF8 || Unknown. | |||
|} | |} | ||
The is the 0xB0-byte struct pushed for the input storage. | The is the 0xB0-byte (0x10A8-byte with version 0x10000) struct pushed for the input storage. | ||
The fields following the userID are only set for [[#Type]] ShowUserDetailInfo/StartSendingFriendRequest, for everything else these are cleared. | The fields following the userID are only set for [[#Type]] ShowUserDetailInfo/StartSendingFriendRequest, for everything else (besides the [9.0.0+] types) these are cleared. | ||
== Type == | == Type == | ||
Line 48: | Line 60: | ||
|- | |- | ||
| ShowMyProfileForHomeMenu || 7 || true || Identical to ShowMyProfile except for PlayStartupSound. | | ShowMyProfileForHomeMenu || 7 || true || Identical to ShowMyProfile except for PlayStartupSound. | ||
|- | |||
| [9.0.0+] StartFriendInvitation || 8 || false || | |||
|- | |||
| [9.0.0+] StartSendingFriendInvitation || 9 || false || | |||
|- | |||
| [9.0.0+] ShowReceivedInvitationDetail || 10 || false || | |||
|} | |} | ||
== Usage == | == Usage == | ||
User-processes should push a common arguments struct | User-processes should push a common arguments struct as well as an [[#Arg]] struct. See [[#Type]] for the commonargs PlayStartupSound flag value. After starting the applet, official sw immediately closes it (no output storage is handled) - except for StartSendingFriendRequest/StartFriendInvitation,/StartSendingFriendInvitation which returns an output storage containing the Result. | ||
[[Category:Library Applets]] | [[Category:Library Applets]] |