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...")
(No difference)

Revision as of 15:44, 15 December 2024

Request

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

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

Description

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.