FRDU:RequestServiceLocator

From 3dbrew
Jump to navigation Jump to search

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.