FRDU:GetServerTypes: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00300000] |} =Response= {| class="wikitable" border="1" |- ! Index Word !..."
 
TimmSkiller (talk | contribs)
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Request=
=Request=
{| class="wikitable" border="1"
{{IPC/Request}}
|-
{{IPC/RequestHeader|0x0030|0|0}}
!  Index Word
{{IPC/RequestEnd}}
!  Description
|-
| 0
| Header code [0x00300000]
|}


=Response=
=Response=
{| class="wikitable" border="1"
{{IPC/Request}}
|-
{{#vardefine:ipc_offset|0}}
!  Index Word
{{IPC/RequestHeader|0x0030|4|0}}
!  Description
{{IPC/RequestEntry|Result code}}
|-
{{IPC/RequestEntry|u8, NASC Environment (0: Production, 1: Testing, 2: Development)}}
| 0
{{IPC/RequestEntry|u8, [[Friend_Services#Server_Types|Server type]] letter <b>value</b>}}
| Header code
{{IPC/RequestEntry|u8, [[Friend_Services#Server_Types|Server type]] number value}}
|-
{{IPC/RequestEnd}}
| 1
| Result code
|-
| 2
| NASC Environment (0: Prod, 1: Test, 2: Dev)
|-
| 3
| [[Friend_Services#Server_Types|Server type]] letter value
|-
| 4
| [[Friend_Services#Server_Types|Server type]] number value
|}


=Description=
=Description=
This returns the environment settings of the current account being used by friends.
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.