|
libnx v4.9.0
|
Wrapper for using the MyPage (friends) LibraryApplet. More...
Go to the source code of this file.
Data Structures | |
| struct | FriendsLaArgHeader |
| Header for the arg struct. More... | |
| struct | FriendsLaArgCommonData |
| Common data for the arg struct, for the pre-9.0.0 types. More... | |
| struct | FriendsLaArgV1 |
| Arg struct pushed for the applet input storage, for pre-9.0.0. More... | |
| struct | FriendsLaArg |
| Arg struct pushed for the applet input storage, for [9.0.0+]. More... | |
Enumerations | |
| enum | FriendsLaArgType { FriendsLaArgType_ShowFriendList = 0 , FriendsLaArgType_ShowUserDetailInfo = 1 , FriendsLaArgType_StartSendingFriendRequest = 2 , FriendsLaArgType_ShowMethodsOfSendingFriendRequest = 3 , FriendsLaArgType_StartFacedFriendRequest = 4 , FriendsLaArgType_ShowReceivedFriendRequestList = 5 , FriendsLaArgType_ShowBlockedUserList = 6 , FriendsLaArgType_ShowMyProfile = 7 , FriendsLaArgType_StartFriendInvitation = 8 , FriendsLaArgType_StartSendingFriendInvitation = 9 , FriendsLaArgType_ShowReceivedInvitationDetail = 10 } |
| Arg type values used with FriendsLaArg. More... | |
Wrapper for using the MyPage (friends) LibraryApplet.
| enum FriendsLaArgType |
Arg type values used with FriendsLaArg.
| Result friendsLaShowBlockedUserList | ( | AccountUid | uid | ) |
Launches the applet with FriendsLaArgType_ShowBlockedUserList, the specified input, and playStartupSound=false.
| [in] | uid | AccountUid |
| Result friendsLaShowFriendList | ( | AccountUid | uid | ) |
Launches the applet with FriendsLaArgType_ShowFriendList, the specified input, and playStartupSound=false.
| [in] | uid | AccountUid |
| Result friendsLaShowMethodsOfSendingFriendRequest | ( | AccountUid | uid | ) |
Launches the applet with FriendsLaArgType_ShowMethodsOfSendingFriendRequest, the specified input, and playStartupSound=false.
| [in] | uid | AccountUid |
| Result friendsLaShowMyProfile | ( | AccountUid | uid | ) |
Launches the applet with FriendsLaArgType_ShowMyProfile, the specified input, and playStartupSound=false.
| [in] | uid | AccountUid |
| Result friendsLaShowMyProfileForHomeMenu | ( | AccountUid | uid | ) |
Same as friendsLaShowMyProfile except with playStartupSound=true.
| [in] | uid | AccountUid |
| Result friendsLaShowReceivedFriendRequestList | ( | AccountUid | uid | ) |
Launches the applet with FriendsLaArgType_ShowReceivedFriendRequestList, the specified input, and playStartupSound=false.
| [in] | uid | AccountUid |
| Result friendsLaShowReceivedInvitationDetail | ( | AccountUid | uid, |
| FriendsFriendInvitationId | invitation_id, | ||
| FriendsFriendInvitationGroupId | invitation_group_id | ||
| ) |
Launches the applet with FriendsLaArgType_ShowReceivedInvitationDetail, the specified input, and playStartupSound=false.
| [in] | uid | AccountUid |
| [in] | invitation_id | FriendsFriendInvitationId |
| [in] | invitation_group_id | FriendsFriendInvitationGroupId |
| Result friendsLaShowUserDetailInfo | ( | AccountUid | uid, |
| AccountNetworkServiceAccountId | id, | ||
| const FriendsInAppScreenName * | first_inAppScreenName, | ||
| const FriendsInAppScreenName * | second_inAppScreenName | ||
| ) |
Launches the applet with FriendsLaArgType_ShowUserDetailInfo, the specified input, and playStartupSound=false.
| [in] | uid | AccountUid |
| [in] | id | AccountNetworkServiceAccountId for the user to show UserDetailInfo for. |
| [in] | first_inAppScreenName | First FriendsInAppScreenName. |
| [in] | second_inAppScreenName | Second FriendsInAppScreenName. |
| Result friendsLaStartFacedFriendRequest | ( | AccountUid | uid | ) |
Launches the applet with FriendsLaArgType_StartFacedFriendRequest, the specified input, and playStartupSound=false.
| [in] | uid | AccountUid |
| Result friendsLaStartFriendInvitation | ( | AccountUid | uid, |
| s32 | id_count, | ||
| const FriendsFriendInvitationGameModeDescription * | desc, | ||
| const void * | userdata, | ||
| u64 | userdata_size | ||
| ) |
Launches the applet with FriendsLaArgType_StartFriendInvitation, the specified input, and playStartupSound=false.
On success, this will load the output Result from the output storage.
| [in] | uid | AccountUid |
| [in] | id_count | AccountNetworkServiceAccountId count, must be 1-15. Number of friends to invite. |
| [in] | desc | FriendsFriendInvitationGameModeDescription |
| [in] | userdata | Arbitrary user-data. Can be NULL. |
| [in] | userdata_size | User-data size, must be <=0x400. Can be 0 if userdata is NULL. |
| Result friendsLaStartSendingFriendInvitation | ( | AccountUid | uid, |
| const AccountNetworkServiceAccountId * | id_list, | ||
| s32 | id_count, | ||
| const FriendsFriendInvitationGameModeDescription * | desc, | ||
| const void * | userdata, | ||
| u64 | userdata_size | ||
| ) |
Launches the applet with FriendsLaArgType_StartSendingFriendInvitation, the specified input, and playStartupSound=false.
On success, this will load the output Result from the output storage.
| [in] | uid | AccountUid |
| [in] | id_list | AccountNetworkServiceAccountId list. |
| [in] | id_count | Size of the id_list array in entries, must be 1-15. Number of friends to invite. |
| [in] | desc | FriendsFriendInvitationGameModeDescription |
| [in] | userdata | Arbitrary user-data. Can be NULL. |
| [in] | userdata_size | User-data size, must be <=0x400. Can be 0 if userdata is NULL. |
| Result friendsLaStartSendingFriendRequest | ( | AccountUid | uid, |
| AccountNetworkServiceAccountId | id, | ||
| const FriendsInAppScreenName * | first_inAppScreenName, | ||
| const FriendsInAppScreenName * | second_inAppScreenName | ||
| ) |
Launches the applet with FriendsLaArgType_StartSendingFriendRequest, the specified input, and playStartupSound=false.
On success, this will load the output Result from the output storage.
| [in] | uid | AccountUid |
| [in] | id | AccountNetworkServiceAccountId to send the friend request to. |
| [in] | first_inAppScreenName | First FriendsInAppScreenName. |
| [in] | second_inAppScreenName | Second FriendsInAppScreenName. |