ACTU:GetAccountDataBlock: Difference between revisions

DaniElectra (talk | contribs)
m Use field names from account.dat
DaniElectra (talk | contribs)
Add more docs for block IDs
Line 38: Line 38:


=Description=
=Description=
This returns NNID account info from account.dat
This returns NNID account info. This data usually comes from account.dat


=DataBlocks=
=DataBlocks=
Line 78: Line 78:
| 0xE
| 0xE
| 0x1
| 0x1
| ?
| IsPasswordCacheEnabled
|-
|-
| 0xF
| 0xF
Line 102: Line 102:
| 0x15
| 0x15
| 0x11
| 0x11
| AccountId? (ASCII NUL-terminated Nintendo Network ID)
| AssignedAccountId (ASCII NUL-terminated Nintendo Network ID)
|-
|-
| 0x16
| 0x16
Line 110: Line 110:
| 0x17
| 0x17
| 0x4
| 0x4
| SimpleAddressId ([[Config_Savegame#CountryInfo|CountryInfo]])
| SimpleAddressId? ([[Config_Savegame#CountryInfo|CountryInfo]])
|-
|-
| 0x19
| 0x19
Line 126: Line 126:
| 0x1C
| 0x1C
| 0x11
| 0x11
| AssignedAccountId? (ASCII NUL-terminated Nintendo Network ID)
| AccountId? (ASCII NUL-terminated Nintendo Network ID)
|-
|-
| 0x1D
| 0x1D
Line 142: Line 142:
| 0x20
| 0x20
| 0x1
| 0x1
| IsMailAddressValidated
|-
| 0x21
| 0x4C
| ?
| ?
|-
|-
Line 162: Line 166:
| 0x28
| 0x28
| 0x24
| 0x24
| NnasNfsEnv?
| struct{char[0x21] NnasSubDomain?; char[0x3] NnasNfsEnv;}
|-
|-
| 0x2B
| 0x2B
Line 170: Line 174:
| 0x2C
| 0x2C
| 0x2
| 0x2
| Age (Not accessible?)
| Age (Not present on account.dat)
|-
|-
| 0x2D
| 0x2D
| 0x1
| 0x1
| ?
| IsEnabledReceiveAds (Not present on account.dat?)
|-
|-
| 0x2E
| 0x2E
| 0x1
| 0x1
| ?
| IsOffDeviceAccessEnabled (Not present on account.dat?)
|-
|-
| 0x2F
| 0x2F
| 0x4
| 0x4
| SimpleAddressId? ([[Config_Savegame#CountryInfo|CountryInfo]])
| SimpleAddressId ([[Config_Savegame#CountryInfo|CountryInfo]])
|}
|}