FRDU:GetFriendInfo

From 3dbrew
Jump to navigation Jump to search

Request[edit]

Index Word Description
0
Header 0x001A00C4 Cmd 0x001A Param 3 Xlat 4
1 Count
2 bool, Mask non-ASCII characters (see description)
3 bool, Profanity Flag
4 Descriptor for static buffer (id 0)
5 Input FriendKey buffer
6 Descriptor for mapping a write-only buffer in the target process
7 Output FriendInfo buffer

Response[edit]

Index Word Description
0
Header 0x001A0042 Cmd 0x001A Param 1 Xlat 2
1 Result code
2 Descriptor for mapping a write-only buffer in the target process
3 Output FriendInfo buffer

Description[edit]

Gets FriendInfo structures for the input friend keys. If an input friend key was not found in the friends list, an internal default placeholder friend entry will be used to populate the data.

If Mask non-ASCII characters is set to true and the system character set does not match that of the friend's Mii, the friends module will replace any non-ASCII character in the screen name of the FriendInfo structure with a question mark.

If Profanity Flag is set to true and is also set in the internal Mii object, the screen name in the FriendInfo structure is replaced with question marks: ??????????.