Function FRD_GetMiiScreenName

Source
pub unsafe extern "C" fn FRD_GetMiiScreenName(
    screenNames: *mut MiiScreenName,
    screenNamesLen: u32_,
    characterSets: *mut u8_,
    characterSetsLen: u32_,
    friendKeyList: *const FriendKey,
    count: u32_,
    maskNonAscii: bool,
    profanityFlag: bool,
) -> Result
Expand description

Gets screen names for the current user’s friends.

§Arguments

  • screenNames - Pointer to write the UTF-16 screen names to.
  • screenNamesLen - Number of UTF-16 characters screenNames can hold. (max: 0x800)
  • characterSets - Pointer to write the character sets for the screen names to.
  • characterSetsLen - Size of buffer to output character sets to.
  • friendKeyList - The friend keys for the friends to get screen names for.
  • count - The number of input friend keys.
  • maskNonAscii - Whether or not to replace all non-ASCII characters with question marks (‘?’) if the given character set doesn’t match that of the corresponding friend’s Mii data.
  • profanityFlag - Setting this to true replaces the screen names with all question marks (‘?’) if profanityFlag is also set in the corresponding friend’s Mii data.