ACTA:UpdateAccountInfo

From 3dbrew
Jump to navigation Jump to search

Request

Index Word Description
0
Header 0x042F0084 Cmd 0x042F Param 2 Xlat 4
1 u8, Account slot
2 Input XML data buffer size (max. 0x800)
3 Descriptor for copying 1 handle
4 Completion event handle
5 Descriptor for mapping a read-only buffer in the target process
6 Input XML data buffer

Response

Index Word Description
0
Header 0x042F0042 Cmd 0x042F Param 1 Xlat 2
1 Result code
2 Descriptor for mapping a read-only buffer in the target process
3 Input XML data buffer

Description

Sends the given raw XML account info to the account server. In the official Nintendo Network ID Settings application, the following is one of the templates used for this command:

<person>
    <gender>%c</gender>
    <region>%u</region>
    <tz_name>%s</tz_name>
</person>

The account slot must be 0xFE. Therefore, this command can only be used with the currently loaded account.