Difference between revisions of "FRDU:GetFriendAttributeFlags"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {{IPC/Request}} {{IPC/RequestHeader|0x0017|1|2}} {{IPC/RequestEntry|Count}} {{IPC/TranslateStaticBuffer|Input FriendKey buffer|0}} {{IP...")
 
 
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#Attribute_Flags|Attribute flags]] buffer|0}}
 
{{IPC/TranslateStaticBuffer|Output [[Friend_Services#Attribute_Flags|Attribute flags]] buffer|0}}

Latest revision as of 23:49, 14 December 2024

Request[edit]

Index Word Description
0
Header 0x00170042 Cmd 0x0017 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 Attribute flags buffer

Response[edit]

Index Word Description
0
Header 0x00170042 Cmd 0x0017 Param 1 Xlat 2
1 Result code
2 Descriptor for static buffer (id 0)
3 Output Attribute flags buffer

Description[edit]

Gets Attribute flags 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 instead. Since the relationship type for the default entry is 2 (Not Found), the attributes for such cases will be 0.