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
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
{{IPC/RequestHeader|0x0030|4|0}}
{{IPC/RequestHeader|0x0030|4|0}}
{{IPC/RequestEntry|Result code}}
{{IPC/RequestEntry|Result code}}
{{IPC/RequestEntry|NASC Environment (0: Production, 1: Testing, 2: Development)}}
{{IPC/RequestEntry|u8, NASC Environment (0: Production, 1: Testing, 2: Development)}}
{{IPC/RequestEntry|[[Friend_Services#Server_Types|Server type]] letter value}}
{{IPC/RequestEntry|u8, [[Friend_Services#Server_Types|Server type]] letter <b>value</b>}}
{{IPC/RequestEntry|[[Friend_Services#Server_Types|Server type]] number value}}
{{IPC/RequestEntry|u8, [[Friend_Services#Server_Types|Server type]] number value}}
{{IPC/RequestEnd}}
{{IPC/RequestEnd}}


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

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.