Difference between revisions of "FRDU:RequestServiceLocator"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {{IPC/Request}} {{IPC/RequestHeader|0x002A|8|4}} {{IPC/RequestEntry|NEX Server ID}} {{IPC/RequestEntryRange|3|UTF-16 <code>keyhash</code> value for NASC requests, se...")
 
 
Line 9: Line 9:
 
{{IPC/ProcessID}}
 
{{IPC/ProcessID}}
 
{{IPC/CopyHandle|1}}
 
{{IPC/CopyHandle|1}}
{{IPC/RequestEntry|Completion handle}}
+
{{IPC/CopyHandleEntry|Completion handle}}
 
{{IPC/RequestEnd}}
 
{{IPC/RequestEnd}}
  

Latest revision as of 14:43, 18 December 2024

Request[edit]

Index Word Description
0
Header 0x002A0204 Cmd 0x002A Param 8 Xlat 4
1 NEX Server ID
2-4 UTF-16 keyhash value for NASC requests, see Online Play
5-6 UTF-16 svc value for NASC requests, see Online Play
7 u8, Major SDK version
8 u8, Minor SDK version
9 Descriptor for process ID
10 Placeholder for process ID
11 Descriptor for copying 1 handle
12 Completion handle

Response[edit]

Index Word Description
0
Header 0x002A0040 Cmd 0x002A Param 1 Xlat 0
1 Result code

Description[edit]

Requests service locator data for game servers.

To request service locator data, the friends module sends a NASC SVCLOC-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:GetServiceLocatorData to retrieve the data received from the server.