FRDU:GetMyPresence: Difference between revisions
Jump to navigation
Jump to search
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00080000] |} The following is located 0x100-bytes after the beginning of the ab..." |
TimmSkiller (talk | contribs) No edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
=Request= | =Request= | ||
{ | {{IPC/Request}} | ||
| | {{IPC/RequestHeader|0x0008|0|0}} | ||
{{IPC/RequestEnd}} | |||
| | |||
| 0 | |||
=Request Static Buffers= | |||
{{IPC/RequestStaticBuffers}} | |||
{{#vardefine:ipc_offset|0}} | |||
{{IPC/TranslateStaticBuffer|Pointer to [[Friend_Services#Presence|Presence]] structure|0}} | |||
{{IPC/RequestEnd}} | |||
| 0 | |||
| | |||
| | |||
| | |||
=Response= | =Response= | ||
{{IPC/Request}} | |||
{{#vardefine:ipc_offset|0}} | |||
{{IPC/RequestHeader|0x0008|1|2}} | |||
{{IPC/RequestEntry|Result code}} | |||
{{IPC/TranslateStaticBuffer|Pointer to [[FRDU:GetMyPresence#MyPresence|MyPresence]] structure|0}} | |||
{{IPC/RequestEnd}} | |||
=MyPresence= | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! Offset | ||
! | ! Size | ||
! Description | |||
|- | |- | ||
| | | 0x0 | ||
| | | 0x2C | ||
| [[Friend_Services#Presence|Presence]] | |||
|- | |- | ||
| | | 0x2C | ||
| | | 0x100 | ||
| u16 GameModeDescription[128] | |||
|} | |} | ||
=Description= | |||
Returns the console's friend presence and game mode description. |
Latest revision as of 00:43, 15 December 2024
Request
Index Word | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
0 |
|
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 Presence structure |
Response
Index Word | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
0 |
| ||||||||
1 | Result code | ||||||||
2 | Descriptor for static buffer (id 0) | ||||||||
3 | Pointer to MyPresence structure |
MyPresence
Offset | Size | Description |
---|---|---|
0x0 | 0x2C | Presence |
0x2C | 0x100 | u16 GameModeDescription[128] |
Description
Returns the console's friend presence and game mode description.