FRDU:GetServerTypes: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
TimmSkiller (talk | contribs)
No edit summary
TimmSkiller (talk | contribs)
No edit summary
 
Line 10: Line 10:
{{IPC/RequestEntry|Result code}}
{{IPC/RequestEntry|Result code}}
{{IPC/RequestEntry|u8, NASC Environment (0: Production, 1: Testing, 2: Development)}}
{{IPC/RequestEntry|u8, NASC Environment (0: Production, 1: Testing, 2: Development)}}
{{IPC/RequestEntry|char, [[Friend_Services#Server_Types|Server type]] letter value}}
{{IPC/RequestEntry|u8, [[Friend_Services#Server_Types|Server type]] letter <b>value</b>}}
{{IPC/RequestEntry|u8, [[Friend_Services#Server_Types|Server type]] number value}}
{{IPC/RequestEntry|u8, [[Friend_Services#Server_Types|Server type]] number value}}
{{IPC/RequestEnd}}
{{IPC/RequestEnd}}

Latest revision as of 17:42, 6 March 2025

Request

Index Word Description
0
Header 0x00300000 Cmd 0x0030 Param 0 Xlat 0

Response

Index Word Description
0
Header 0x00300100 Cmd 0x0030 Param 4 Xlat 0
1 Result code
2 u8, NASC Environment (0: Production, 1: Testing, 2: Development)
3 u8, Server type letter value
4 u8, Server type number value

Description

Returns the server environment settings of the current account being used by the friends module.