Function FRDA_AddFriendOffline

Source
pub unsafe extern "C" fn FRDA_AddFriendOffline(
    friendKey: *mut FriendKey,
    mii: *mut FriendMii,
    friendProfile: *mut FriendProfile,
    screenName: *mut MiiScreenName,
    profanityFlag: bool,
    characterSet: u8_,
) -> Result
Expand description

Adds a friend offline (“Local” option).

§Arguments

  • friendKey - Pointer to the friend key of the friend to add.
  • mii - Pointer to the Mii of the friend to add.
  • friendProfile - Pointer to the friend profile of the friend to add.
  • screenName - Pointer to the UTF-16 screen name of the friend to add.
  • profanityFlag - Setting this to true will cause calls that return the screen name to replace it with question marks (‘?’) when profanityFlag is true in those calls.
  • characterSet - The character set to use for text data of the friend.