Difference between revisions of "ACTU:GetAccountDataBlock"

 
(16 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
=Request=
 
=Request=
βˆ’
{| class="wikitable" border="1"
+
{{IPC/Request}}
βˆ’
|-
+
{{IPC/RequestHeader|0x0006|3|2}}
βˆ’
!  Index Word
+
{{IPC/RequestEntry|u8, Account slot (0xFE for default)}}
βˆ’
!  Description
+
{{IPC/RequestEntry|Output buffer size}}
βˆ’
|-
+
{{IPC/RequestEntry|Account data type}}
βˆ’
| 0
+
{{IPC/MapPointerW|Output buffer}}
βˆ’
| Header code [0x000600C2]
+
{{IPC/RequestEnd}}
βˆ’
|-
 
βˆ’
| 1
 
βˆ’
| Unknown, usually 0xFE?
 
βˆ’
|-
 
βˆ’
| 2
 
βˆ’
| Size
 
βˆ’
|-
 
βˆ’
| 3
 
βˆ’
| BlkID
 
βˆ’
|-
 
βˆ’
| 4
 
βˆ’
| (Size<<4)  <nowiki>|</nowiki> 12
 
βˆ’
|-
 
βˆ’
| 5
 
βˆ’
| Output buffer ptr
 
βˆ’
|}
 
  
 
=Response=
 
=Response=
βˆ’
{| class="wikitable" border="1"
+
{{IPC/Request}}
βˆ’
|-
+
{{#vardefine:ipc_offset|0}}
βˆ’
!  Index Word
+
{{IPC/RequestHeader|0x0006|1|2}}
βˆ’
!  Description
+
{{IPC/RequestEntry|Result code}}
βˆ’
|-
+
{{IPC/MapPointerW|Output buffer}}
βˆ’
| 0
+
{{IPC/RequestEnd}}
βˆ’
| Header code
 
βˆ’
|-
 
βˆ’
| 1
 
βˆ’
| Result code
 
βˆ’
|}
 
  
 
=Description=
 
=Description=
βˆ’
This returns NNID account info.
+
Returns information associated to the account specified by the account slot.
  
βˆ’
=DataBlocks=
+
See [[ACT_Services#DataBlocks|DataBlocks]] for possible data types.
βˆ’
{| class="wikitable" border="1"
 
βˆ’
|-
 
βˆ’
!  BlkID
 
βˆ’
!  Size
 
βˆ’
!  Description
 
βˆ’
|-
 
βˆ’
| 0xB
 
βˆ’
| 0x3
 
βˆ’
| ASCII NUL-terminated country-name.
 
βˆ’
|-
 
βˆ’
| 0x8
 
βˆ’
| 0x11
 
βˆ’
| Username/nickname, exact format unknown.
 
βˆ’
|-
 
βˆ’
| 0x19
 
βˆ’
| 0x8
 
βˆ’
| ?
 
βˆ’
|-
 
βˆ’
| 0x1E
 
βˆ’
| 0x41
 
βˆ’
| ASCII location for the timezone.
 
βˆ’
|-
 
βˆ’
| 0x2F
 
βˆ’
| 0x4
 
βˆ’
| Similar or identical to [[Config_Savegame#CountryInfo|cfg CountryInfo]]?
 
βˆ’
|}
 

Latest revision as of 19:03, 12 January 2025

RequestEdit

Index Word Description
0
Header 0x000600C2 Cmd 0x0006 Param 3 Xlat 2
1 u8, Account slot (0xFE for default)
2 Output buffer size
3 Account data type
4 Descriptor for mapping a write-only buffer in the target process
5 Output buffer

ResponseEdit

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

DescriptionEdit

Returns information associated to the account specified by the account slot.

See DataBlocks for possible data types.