nn::friends::CTR::GetFriendScreenName Function

Syntax

Result GetFriendScreenName(
     char16(*) pScreenNameList[SCREEN_NAME_SIZE],
     const FriendKey * pFriendKeyList,
     size_t size = 1,
     bool replaceForeignCharacters = true,
     u8 * pFontRegionList = NULL
);

Result GetFriendScreenName(
     char16(*) pScreenNameList[SCREEN_NAME_SIZE],
     const PrincipalId * pPrincipalIdList,
     size_t size = 1,
     bool replaceForeignCharacters = true,
     u8 * pFontRegionList = NULL
);

List of Overloaded Member Functions

GetFriendScreenName ( char16(*), const FriendKey *, size_t, bool, u8 * ) Gets a list of friend screen names.
GetFriendScreenName ( char16(*), const PrincipalId *, size_t, bool, u8 * ) Gets a list of friend screen names.

Description of GetFriendScreenName ( char16(*), const FriendKey *, size_t, bool, u8 * )

By calling this function, you can get the name of a friend's Mii character directly without using the Mii library. Even if you have not yet established a friend relationship with this person and cannot get his or her Mii character, the display name that you have tentatively registered is obtained.

The actual name of a friend's Mii character is obtained even when it is in the blacklist, but the obtained name is replaced with "???" if it contains profanity.

Returns a blank screen name if there is no friend corresponding to the key passed in the arguments.

Description of GetFriendScreenName ( char16(*), const PrincipalId *, size_t, bool, u8 * )

By calling this function, you can get the name of a friend's Mii character directly without using the Mii library. Even if you have not yet established a friend relationship with this person and cannot get his or her Mii character, the display name that you have tentatively registered is obtained.

The actual name of a friend's Mii character is obtained even when it is in the blacklist, but the obtained name is replaced with "???" if it contains profanity.

Returns a blank screen name if there is no friend corresponding to the key passed in the arguments.


CONFIDENTIAL