FRDU:GetFriendPresence: Difference between revisions
Jump to navigation
Jump to search
TimmSkiller (talk | contribs) No edit summary |
TimmSkiller (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
=Request Static Buffers= | =Request Static Buffers= | ||
{{IPC/ | {{IPC/RequestStaticBuffers}} | ||
{{#vardefine:ipc_offset|0}} | {{#vardefine:ipc_offset|0}} | ||
{{IPC/TranslateStaticBuffer|Pointer to output [[FRDU:GetFriendPresence#Friend_Presence_Structure|Friend Presence]] structures|0}} | {{IPC/TranslateStaticBuffer|Pointer to output [[FRDU:GetFriendPresence#Friend_Presence_Structure|Friend Presence]] structures|0}} |
Latest revision as of 00:47, 15 December 2024
Request
Index Word | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
0 |
| ||||||||
1 | Friend key count | ||||||||
2 | Descriptor for static buffer (id 0) | ||||||||
3 | Pointer to input FriendKey structures |
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 | Pointer to output Friend Presence structures |
Response
Index Word | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
0 |
| ||||||||
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).