nn::friends::CTR::GetFriendPresence Function

Syntax

Result GetFriendPresence(
     FriendPresence * pFriendPresenceList,
     const PrincipalId * pPrincipalIdList,
     size_t size = 1
);

Arguments

Name Description
out pFriendPresenceList Specifies a pointer to a buffer storing obtained friend presence information.
in pPrincipalIdList Specifies a pointer to a list of principal IDs.
in size Specifies the number of buffer elements in the principal ID list.

Return Values

Returns the result of the operation.

Description

Gets a list of friend presence information.

Cannot acquire the invitation flag and game mode of a friend who has a different matchmaking game ID specified.

Returns empty presence information if there is no friend corresponding to the key passed in the arguments.


CONFIDENTIAL