nn::friends::CTR::GetFriendPresence Function

Syntax

Result GetFriendPresence(
     FriendPresence * pFriendPresenceList,
     const FriendKey * pFriendKeyList,
     size_t size = 1
);

Arguments

Name Description
out pFriendPresenceList Specifies a pointer to a buffer storing obtained friend presence information.
in pFriendKeyList Specifies a pointer to a list of friend keys.
in size Specifies the number of buffer elements in the friend key list.

Return Values

Returns the result of the operation.

Description

Gets a list of friend presence information.

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

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


CONFIDENTIAL