Changes

Created page with "=Request= {{IPC/Request}} {{IPC/RequestHeader|0x0013|5|2}} {{IPC/RequestEntry|Output screen names buffer size (maximum 0x800)}} {{IPC/RequestEntry|Output [[Mii#Mii_format|Mii]..."
=Request=
{{IPC/Request}}
{{IPC/RequestHeader|0x0013|5|2}}
{{IPC/RequestEntry|Output screen names buffer size (maximum 0x800)}}
{{IPC/RequestEntry|Output [[Mii#Mii_format|Mii]] character sets buffer size (maximum 0x800)}}
{{IPC/RequestEntry|Count}}
{{IPC/RequestEntry|bool, Mask non-ASCII characters (see description)}}
{{IPC/RequestEntry|bool, ProfanityFlag}}
{{IPC/TranslateStaticBuffer|Pointer to input [[Friend_Services#FriendKey|FriendKey]] structures|0}}
{{IPC/RequestEnd}}

=Request Static Buffers=
{{IPC/Request}}
{{#vardefine:ipc_offset|0}}
{{IPC/TranslateStaticBuffer|Pointer to output screen names (Count * 22)|0}}
{{IPC/TranslateStaticBuffer|Pointer to output [[Mii#Mii_format|Mii]] character sets (Count * 1)|1}}
{{IPC/RequestEnd}}

=Response=
{{IPC/Request}}
{{#vardefine:ipc_offset|0}}
{{IPC/RequestHeader|0x0013|1|4}}
{{IPC/RequestEntry|Result code}}
{{IPC/TranslateStaticBuffer|Pointer to output screen names|0}}
{{IPC/TranslateStaticBuffer|Pointer to output [[Mii#Mii_format|Mii]] character sets|1}}
{{IPC/RequestEnd}}

=Description=
Queries the [[Mii#Mii_format|Mii]] screen name for the provided friend keys.

Although optional, this command can also return the character set for the screen name of the Miis.

When <code>ProfanityFlag</code> is set, the entire screen name is set to question marks: <code>??????????</code>.

When the system character set doesn't match that of the Mii and <code>Mask non-ASCII characters</code> is set to true, the friends module will replace every non-ASCII character with a question mark.

If an input friend key is not found in the friends list, an internal default placeholder friend entry is used to populate the data.
Trusted
365

edits