Difference between revisions of "FRDU:RequestGameAuthentication"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {{IPC/Request}} {{IPC/RequestHeader|0x0028|9|4}} {{IPC/RequestEntry|NEX Server ID}} {{IPC/RequestEntryRange|6|UTF-16 <code>ingamesn</code> value for NASC requests, s...")
 
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
{{IPC/RequestEntry|NEX Server ID}}
 
{{IPC/RequestEntry|NEX Server ID}}
 
{{IPC/RequestEntryRange|6|UTF-16 <code>ingamesn</code> value for NASC requests, see [[Online_Play|Online Play]]}}
 
{{IPC/RequestEntryRange|6|UTF-16 <code>ingamesn</code> value for NASC requests, see [[Online_Play|Online Play]]}}
{{IPC/RequestEntry|u32, Major SDK version}}
+
{{IPC/RequestEntry|u8, Major SDK version}}
 
{{IPC/RequestEntry|u8, Minor SDK version}}
 
{{IPC/RequestEntry|u8, Minor SDK version}}
 
{{IPC/ProcessID}}
 
{{IPC/ProcessID}}
 
{{IPC/CopyHandle|1}}
 
{{IPC/CopyHandle|1}}
{{IPC/RequestEntry|Completion event handle}}
+
{{IPC/CopyHandleEntry|Completion event handle}}
 
{{IPC/RequestEnd}}
 
{{IPC/RequestEnd}}
  
Line 21: Line 21:
 
Requests NEX authentication data for game servers.
 
Requests NEX authentication data for game servers.
  
The client SDK version must be at least 0x3010000, otherwise this returns error 0xC8A0C7F0.
+
To request authentication data, the friends module sends a NASC <code>LOGIN</code>-type HTTP request using the given information (see [[Online_Play|Online Play]] for more details).
 
 
To request authentication data, the friends module sends a NASC <code>LOGIN</code> HTTP request using the given information (see [[Online_Play|Online Play]] for more details).
 
  
 
Once the completion handle has been signaled, the client can use [[FRDU:GetGameAuthenticationData]] to retrieve the data received from the server.
 
Once the completion handle has been signaled, the client can use [[FRDU:GetGameAuthenticationData]] to retrieve the data received from the server.

Latest revision as of 14:42, 18 December 2024

Request[edit]

Index Word Description
0
Header 0x00280244 Cmd 0x0028 Param 9 Xlat 4
1 NEX Server ID
2-7 UTF-16 ingamesn value for NASC requests, see Online Play
8 u8, Major SDK version
9 u8, Minor SDK version
10 Descriptor for process ID
11 Placeholder for process ID
12 Descriptor for copying 1 handle
13 Completion event handle

Response[edit]

Index Word Description
0
Header 0x00280040 Cmd 0x0028 Param 1 Xlat 0
1 Result code

Description[edit]

Requests NEX authentication data for game servers.

To request authentication data, the friends module sends a NASC LOGIN-type HTTP request using the given information (see Online Play for more details).

Once the completion handle has been signaled, the client can use FRDU:GetGameAuthenticationData to retrieve the data received from the server.