Difference between revisions of "FRDA:CreateLocalAccount"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x04010100] |- | 1 | Local account ID |- | 2 | NASC Environment (0: Prod, 1: Te...")
 
 
Line 1: Line 1:
 
=Request=
 
=Request=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{IPC/RequestHeader|0x0401|4|0}}
!  Index Word
+
{{IPC/RequestEntry|u8, local account ID of to be created account}}
!  Description
+
{{IPC/RequestEntry|NASC Environment (0: Production, 1: Testing, 2: Development)}}
|-
+
{{IPC/RequestEntry|[[Friend_Services#Server_Types|Server type]] letter value}}
| 0
+
{{IPC/RequestEntry|u8, [[Friend_Services#Server_Types|Server type]] number value}}
| Header code [0x04010100]
+
{{IPC/RequestEnd}}
|-
 
| 1
 
| Local account ID
 
|-
 
| 2
 
| NASC Environment (0: Prod, 1: Test, 2: Dev)
 
|-
 
| 3
 
| [[Friend_Services#Server_Types|Server type]] letter value
 
|-
 
| 4
 
| [[Friend_Services#Server_Types|Server type]] number value
 
|}
 
  
 
=Response=
 
=Response=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{#vardefine:ipc_offset|0}}
!  Index Word
+
{{IPC/RequestHeader|0x0401|1|0}}
!  Description
+
{{IPC/RequestEntry|Result code}}
|-
+
{{IPC/RequestEnd}}
| 0
 
| Header code
 
|-
 
| 1
 
| Result code
 
|}
 
  
 
=Description=
 
=Description=
This creates a new local account with the given parameters.
+
Creates a new local account with the given server configuration.

Latest revision as of 19:52, 17 December 2024

Request[edit]

Index Word Description
0
Header 0x04010100 Cmd 0x0401 Param 4 Xlat 0
1 u8, local account ID of to be created account
2 NASC Environment (0: Production, 1: Testing, 2: Development)
3 Server type letter value
4 u8, Server type number value

Response[edit]

Index Word Description
0
Header 0x04010040 Cmd 0x0401 Param 1 Xlat 0
1 Result code

Description[edit]

Creates a new local account with the given server configuration.