nn::friends::CTR::GetFriendPresence Function

Syntax

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

List of Overloaded Member Functions

GetFriendPresence(FriendPresence *, const FriendKey *, size_t) Gets a list of friend presence information.
GetFriendPresence(FriendPresence *, const PrincipalId *, size_t) Gets a list of friend presence information.

Description of GetFriendPresence(FriendPresence *, const FriendKey *, size_t)

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

Returns an empty presence in this buffer if there is no friend corresponding to the key passed in the arguments. The function still returns success in this case.

Description of GetFriendPresence(FriendPresence *, const PrincipalId *, size_t)

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

Returns an empty presence in this buffer if there is no friend corresponding to the key passed in the arguments. The function still returns success in this case.


CONFIDENTIAL