Difference between revisions of "FRDU:GetFriendProfile"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {{IPC/Request}} {{IPC/RequestHeader|0x0015|1|2}} {{IPC/RequestEntry|Count}} {{IPC/TranslateStaticBuffer|Input Friend_Services#FriendKey|FriendKey}} buffer|0}} {{IP...")
 
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
{{IPC/RequestHeader|0x0015|1|2}}
 
{{IPC/RequestHeader|0x0015|1|2}}
 
{{IPC/RequestEntry|Count}}
 
{{IPC/RequestEntry|Count}}
{{IPC/TranslateStaticBuffer|Input [[Friend_Services#FriendKey|FriendKey}} buffer|0}}
+
{{IPC/TranslateStaticBuffer|Input [[Friend_Services#FriendKey|FriendKey]] buffer|0}}
 
{{IPC/RequestEnd}}
 
{{IPC/RequestEnd}}
  
 
=Request Static Buffers=
 
=Request Static Buffers=
{{IPC/Request}}
+
{{IPC/RequestStaticBuffers}}
 
{{#vardefine:ipc_offset|0}}
 
{{#vardefine:ipc_offset|0}}
{{IPC/TranslateStaticBuffer|Output [[Friend_Services#Profile|Profile}} buffer|0}}
+
{{IPC/TranslateStaticBuffer|Output [[Friend_Services#Profile|Profile]] buffer|0}}
 
{{IPC/RequestEnd}}
 
{{IPC/RequestEnd}}
  
Line 17: Line 17:
 
{{IPC/RequestHeader|0x0015|1|2}}
 
{{IPC/RequestHeader|0x0015|1|2}}
 
{{IPC/RequestEntry|Result code}}
 
{{IPC/RequestEntry|Result code}}
{{IPC/TranslateStaticBuffer|Output [[Friend_Services#Profile|Profile}} buffer|0}}
+
{{IPC/TranslateStaticBuffer|Output [[Friend_Services#Profile|Profile]] buffer|0}}
 
{{IPC/RequestEnd}}
 
{{IPC/RequestEnd}}
  
 
=Description=
 
=Description=
 
Gets the friend profile for the specified friend keys. If an input friend key is not found in the friends list, an internal default placeholder friend entry is used to populate the data.
 
Gets the friend profile for the specified friend keys. If an input friend key is not found in the friends list, an internal default placeholder friend entry is used to populate the data.

Latest revision as of 23:48, 14 December 2024

Request[edit]

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

Request Static Buffers[edit]

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 Profile buffer

Response[edit]

Index Word Description
0
Header 0x00150042 Cmd 0x0015 Param 1 Xlat 2
1 Result code
2 Descriptor for static buffer (id 0)
3 Output Profile buffer

Description[edit]

Gets the friend profile for the specified friend keys. If an input friend key is not found in the friends list, an internal default placeholder friend entry is used to populate the data.