Difference between revisions of "FRDU:GetServerTypes"

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 !...")
 
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|NASC Environment (0: Production, 1: Testing, 2: Development)}}
| 0
+
{{IPC/RequestEntry|[[Friend_Services#Server_Types|Server type]] letter value}}
| Header code
+
{{IPC/RequestEntry|[[Friend_Services#Server_Types|Server type]] number value}}
|-
 
| 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.

Revision as of 17:18, 15 December 2024

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 NASC Environment (0: Production, 1: Testing, 2: Development)
3 Server type letter value
4 Server type number value

Description

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