FRDU:GetFriendPresence

Revision as of 23:47, 14 December 2024 by TimmSkiller (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

RequestEdit

Index Word Description
0
Header 0x00120042 Cmd 0x0012 Param 1 Xlat 2
1 Friend key count
2 Descriptor for static buffer (id 0)
3 Pointer to input FriendKey structures

Request Static BuffersEdit

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 Pointer to output Friend Presence structures

ResponseEdit

Index Word Description
0
Header 0x00120042 Cmd 0x0012 Param 1 Xlat 2
1 Result code
2 Descriptor for static buffer (id 0)
3 Pointer to output Friend Presence structures

Friend Presence StructureEdit

Offset Size Description
0x0 0x2C Presence Structure
0x2C 0x1 bool, IsPresenceLoaded
0x2D 0x1 bool, Has Sent invitation(?) Is game joinable(?)
0x2E 0x1 bool, Found
0x2F 0x1 padding

DescriptionEdit

Returns friend presence information for the input friend keys. For input friend keys that were not found in the friends list, a default internal placeholder friend entry will be used to populate the data, and the "found" field will be set to 0 (false).