Difference between revisions of "FRDU:GetMyPlayingGame"

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|0x000C|0|0}}
!  Index Word
+
{{IPC/RequestEnd}}
!  Description
 
|-
 
| 0
 
| Header code [0x000C0000]
 
|}
 
  
 
=Response=
 
=Response=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{#vardefine:ipc_offset|0}}
!  Index Word
+
{{IPC/RequestHeader|0x000C|5|0}}
!  Description
+
{{IPC/RequestEntry|Result code}}
|-
+
{{IPC/RequestEntryRange|4|[[Friend_Services#GameKey|GameKey]]}}
| 0
+
{{IPC/RequestEnd}}
| Header code
+
 
|-
+
=Description=
| 1
+
Returns the game key of the current game.
| Result code
 
|-
 
| 2-5
 
| [[Friend_Services#GameKey|GameKey]] of the current game being played
 
|}
 

Latest revision as of 18:36, 12 December 2024

Request[edit]

Index Word Description
0
Header 0x000C0000 Cmd 0x000C Param 0 Xlat 0

Response[edit]

Index Word Description
0
Header 0x000C0140 Cmd 0x000C Param 5 Xlat 0
1 Result code
2-5 GameKey

Description[edit]

Returns the game key of the current game.