Difference between revisions of "FRDU:GetFriendComment"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {{IPC/Request}} {{IPC/RequestHeader|0x0031|2|2}} {{IPC/RequestEntry|Total amount of UTF-16 characters the output buffer can hold (max. 0x400) (Count * 0x11)}} {{IPC/...")
(No difference)

Revision as of 21:09, 15 December 2024

Request

Index Word Description
0
Header 0x00310082 Cmd 0x0031 Param 2 Xlat 2
1 Total amount of UTF-16 characters the output buffer can hold (max. 0x400) (Count * 0x11)
2 Count
3 Descriptor for static buffer (id 0)
4 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 friend comment buffer (Count * 0x11) (16 characters + null termination each)

Response

Index Word Description
0
Header 0x00310042 Cmd 0x0031 Param 1 Xlat 2
1 Result code
2 Descriptor for static buffer (id 0)
3 Output friend comment buffer

Description

Returns the friend comment (personal message) set in the friends list for the specified friend keys. If an input friend key was not found in the friends list, t