FRDU:GetFriendPresence

Revision as of 19:02, 12 December 2024 by TimmSkiller (talk | contribs) (Created page with "=Request= {{IPC/Request}} {{IPC/RequestHeader|0x0012|1|2}} {{IPC/RequestEntry|Friend key count}} {{IPC/TranslateStaticBuffer|Pointer to input Friend_Services#FriendKey|Frien...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Request

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

Response

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 Structure

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

Description

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).