Difference between revisions of "ACTU:GetCommonInfo"

From 3dbrew
Jump to navigation Jump to search
m (Add more docs for block IDs)
m (Move data blocks to main page of ACT)
 
Line 12: Line 12:
 
|-
 
|-
 
| 3
 
| 3
| BlkID
+
| [[ACT_Services#DataBlocks|BlkID]]
 
|-
 
|-
 
| 4
 
| 4
Line 35: Line 35:
  
 
=Description=
 
=Description=
This returns common account info from common.dat
+
This returns common account info. This data usually comes from common.dat
 
 
=DataBlocks=
 
 
 
{| class="wikitable" border="1"
 
|-
 
!  BlkID
 
!  Size
 
!  Description
 
|-
 
| 0x1
 
| 0x1
 
| Total number of accounts
 
|-
 
| 0x2
 
| 0x1
 
| Default account
 
|-
 
| 0x3
 
| 0x1
 
| Default account?
 
|-
 
| 0x4
 
| 0x8
 
| ?
 
|-
 
| 0x5
 
| ?
 
| ?
 
|-
 
| 0x6
 
| 0x8
 
| CommonTransferableIdBase
 
|-
 
| 0x29
 
| 0x24
 
| struct{char[0x21] DefaultNnasSubDomain?; char[0x3] DefaultNnasNfsEnv;}
 
|-
 
| 0x2A
 
| 0x8
 
| ?
 
|}
 

Latest revision as of 00:20, 15 October 2023

Request[edit]

Index Word Description
0 Header code [0x00050082]
2 Size
3 BlkID
4 (Size<<4) | 12
5 Output buffer ptr

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

This returns common account info. This data usually comes from common.dat