FRDU:GetFriendRelationship: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
TimmSkiller (talk | contribs)
Created page with "=Request= {{IPC/Request}} {{IPC/RequestHeader|0x0016|1|2}} {{IPC/RequestEntry|Count}} {{IPC/TranslateStaticBuffer|Input FriendKey buffer|0}} {{IP..."
 
TimmSkiller (talk | contribs)
No edit summary
 
Line 7: Line 7:


=Request Static Buffers=
=Request Static Buffers=
{{IPC/Request}}
{{IPC/RequestStaticBuffers}}
{{#vardefine:ipc_offset|0}}
{{#vardefine:ipc_offset|0}}
{{IPC/TranslateStaticBuffer|Output [[Friend_Services#Relationship_Types|Relationship]] buffer|0}}
{{IPC/TranslateStaticBuffer|Output [[Friend_Services#Relationship_Types|Relationship]] buffer|0}}

Latest revision as of 00:48, 15 December 2024

Request

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

Request Static Buffers

The handler for this IPC command expects the following 0x100-bytes after the beginning of the above command buffer:

Index Word Description


0 Descriptor for static buffer (id 0)
1 Output Relationship buffer

Response

Index Word Description
0
Header 0x00160042 Cmd 0x0016 Param 1 Xlat 2
1 Result code
2 Descriptor for static buffer (id 0)
3 Output Relationship buffer

Description

Gets the relationship between the console and the friends associated with the input friend keys. If an input friend key was not found in the friends list, a default internal placeholder friend entry is used to populate the relationship. The default relationship value in this case is 2 (Not Found).