Difference between revisions of "FRDU:GetFriendFavoriteGame"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {{IPC/Request}} {{IPC/RequestHeader|0x0019|1|2}} {{IPC/RequestEntry|Count}} {{IPC/TranslateStaticBuffer|Input FriendKey buffer|0}} {{IP...")
 
Line 7: Line 7:
  
 
=Request Static Buffers=
 
=Request Static Buffers=
{{IPC/Request}}
+
{| class="wikitable" border="1"
{{#vardefine:ipc_offset|0}}
+
|-
{{IPC/TranslateStaticBuffer|Output [[Friend_Services#GameKey|GameKey]] buffer|0}}
+
! Index Word
{{IPC/RequestEnd}}
+
! Description
 +
|-
 +
| 0
 +
| Descriptor for [[IPC#Static_Buffer_Translation|static buffer]] (ID 0)
 +
|-
 +
| 1
 +
| Output [[Friend_Services#GameKey|GameKey]] buffer
 +
|}
  
 
=Response=
 
=Response=

Revision as of 18:51, 14 December 2024

Request

Index Word Description
0
Header 0x00190042 Cmd 0x0019 Param 1 Xlat 2
1 Count
2 Descriptor for static buffer (id 0)
3 Input FriendKey buffer

Request Static Buffers

Index Word Description
0 Descriptor for static buffer (ID 0)
1 Output GameKey buffer

Response

Index Word Description
0
Header 0x00190042 Cmd 0x0019 Param 1 Xlat 2
1 Result code
2 Descriptor for static buffer (id 0)
3 Output GameKey buffer

Description

Gets the favorite game's GameKey for the input friend keys. If an input friend key was not found in the friends list, an internal default placeholder friend entry will be used to populate the data.