FRDU:GetFriendPresence: Difference between revisions
Jump to navigation
Jump to search
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..." |
TimmSkiller (talk | contribs) No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 4: | Line 4: | ||
{{IPC/RequestEntry|Friend key count}} | {{IPC/RequestEntry|Friend key count}} | ||
{{IPC/TranslateStaticBuffer|Pointer to input [[Friend_Services#FriendKey|FriendKey]] structures|0}} | {{IPC/TranslateStaticBuffer|Pointer to input [[Friend_Services#FriendKey|FriendKey]] structures|0}} | ||
{{IPC/RequestEnd}} | |||
=Request Static Buffers= | |||
{{IPC/RequestStaticBuffers}} | |||
{{#vardefine:ipc_offset|0}} | |||
{{IPC/TranslateStaticBuffer|Pointer to output [[FRDU:GetFriendPresence#Friend_Presence_Structure|Friend Presence]] structures|0}} | |||
{{IPC/RequestEnd}} | {{IPC/RequestEnd}} | ||
Latest revision as of 23:47, 14 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).