Difference between revisions of "ACTU:GetAccountDataBlock"

From 3dbrew
Jump to navigation Jump to search
Line 46: Line 46:
 
!  Size
 
!  Size
 
!  Description
 
!  Description
 +
|-
 +
| 0x8
 +
| 0x11
 +
| ASCII NUL-terminated Nintendo Network ID
 
|-
 
|-
 
| 0xB
 
| 0xB
 
| 0x3
 
| 0x3
| ASCII NUL-terminated country-name.
+
| ASCII NUL-terminated Country Name
 +
|-
 +
| 0xC
 +
| 0x4
 +
| Nintendo Network ID Number
 
|-
 
|-
| 0x8
+
| 0x13
| 0x11
+
| 0x1
| Nintendo Network ID, exact string format unknown.
+
| ?
 
|-
 
|-
 
| 0x19
 
| 0x19
Line 61: Line 69:
 
| 0x1E
 
| 0x1E
 
| 0x41
 
| 0x41
| ASCII location for the timezone.
+
| ASCII Time Zone Location
 +
|-
 +
| 0x2C
 +
| 0x2
 +
| ?
 
|-
 
|-
 
| 0x2F
 
| 0x2F
 
| 0x4
 
| 0x4
| Similar or identical to [[Config_Savegame#CountryInfo|cfg CountryInfo]]?
+
| [[Config_Savegame#CountryInfo|CountryInfo]]
 
|}
 
|}

Revision as of 01:30, 25 November 2015

Request

Index Word Description
0 Header code [0x000600C2]
1 Unknown, usually 0xFE?
2 Size
3 BlkID
4 (Size<<4) | 12
5 Output buffer ptr

Response

Index Word Description
0 Header code
1 Result code

Description

This returns NNID account info.

DataBlocks

BlkID Size Description
0x8 0x11 ASCII NUL-terminated Nintendo Network ID
0xB 0x3 ASCII NUL-terminated Country Name
0xC 0x4 Nintendo Network ID Number
0x13 0x1 ?
0x19 0x8 ?
0x1E 0x41 ASCII Time Zone Location
0x2C 0x2 ?
0x2F 0x4 CountryInfo