nn::friends::CTR::GetFriendScreenName FunctionResult GetFriendScreenName( char16(*) pScreenNameList[SCREEN_NAME_SIZE], const PrincipalId * pPrincipalIdList, size_t size = 1, bool replaceForeignCharacters = true, u8 * pFontRegionList = NULL );
| Name | Description | |
|---|---|---|
| out | pScreenNameList[SCREEN_NAME_SIZE] | Specifies a pointer to a buffer that stores acquired screen names. |
| in | pPrincipalIdList | Specifies a pointer to a list of principal IDs. |
| in | size | Specifies the number of buffer elements in the principal ID list. |
| in | replaceForeignCharacters | When the font region of the friend's screen name is different than one's own, specifies to use "?" in place of non-ASCII characters. |
| in | pFontRegionList | Specifies a pointer to a buffer that stores the font region of a friend's screen name. Specify NULL if not needed. |
Gets a list of friend screen names.
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