Difference between revisions of "FRDU:GetMyFavoriteGame"

From 3dbrew
Jump to navigation Jump to search
(add correct return struct type)
 
Line 1: Line 1:
 
=Request=
 
=Request=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{IPC/RequestHeader|0x000D|0|0}}
!  Index Word
+
{{IPC/RequestEnd}}
!  Description
 
|-
 
| 0
 
| Header code [0x000D0000]
 
|}
 
  
 
=Response=
 
=Response=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{#vardefine:ipc_offset|0}}
!  Index Word
+
{{IPC/RequestHeader|0x000D|5|0}}
!  Description
+
{{IPC/RequestEntry|Result code}}
|-
+
{{IPC/RequestEntryRange|4|[[Friend_Services#GameKey|GameKey]]}}
| 0
+
{{IPC/RequestEnd}}
| Header code
 
|-
 
| 1
 
| Result code
 
|-
 
| 2-5
 
| [[Friend_Services#GameKey|GameKey]] of the favorite game
 
|}
 
  
 
=Description=
 
=Description=
Returns the game key for the favorite game set in the friends list.
+
Returns the game key of the favorite game set in the friends list.

Latest revision as of 18:37, 12 December 2024

Request[edit]

Index Word Description
0
Header 0x000D0000 Cmd 0x000D Param 0 Xlat 0

Response[edit]

Index Word Description
0
Header 0x000D0140 Cmd 0x000D Param 5 Xlat 0
1 Result code
2-5 GameKey

Description[edit]

Returns the game key of the favorite game set in the friends list.