FRDU:GetMyPresence: Difference between revisions

TimmSkiller (talk | contribs)
No edit summary
TimmSkiller (talk | contribs)
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Request=
=Request=
{| class="wikitable" border="1"
{{IPC/Request}}
|-
{{IPC/RequestHeader|0x0008|0|0}}
!  Index Word
{{IPC/RequestEnd}}
!  Description
|-
| 0
| Header code [0x00080000]
|}


The following is located 0x100-bytes after the beginning of the above command buffer:
=Request Static Buffers=
{| class="wikitable" border="1"
{{IPC/RequestStaticBuffers}}
|-
{{#vardefine:ipc_offset|0}}
!  Index Word
{{IPC/TranslateStaticBuffer|Pointer to [[Friend_Services#Presence|Presence]] structure|0}}
!  Description
{{IPC/RequestEnd}}
|-
| 0
| <nowiki>(300 << 14) | 2</nowiki>
|-
| 1
| Pointer to [[FRDU:GetMyPresence#FriendPresence|FriendPresence]] structure
|}


=Response=
=Response=
{| class="wikitable" border="1"
{{IPC/Request}}
|-
{{#vardefine:ipc_offset|0}}
!  Index Word
{{IPC/RequestHeader|0x0008|1|2}}
!  Description
{{IPC/RequestEntry|Result code}}
|-
{{IPC/TranslateStaticBuffer|Pointer to [[FRDU:GetMyPresence#MyPresence|MyPresence]] structure|0}}
| 0
{{IPC/RequestEnd}}
| Header code
|-
| 1
| Result code
|}


=FriendPresence=
=MyPresence=
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 43: Line 26:
|-
|-
| 0x0
| 0x0
| 0x4
| 0x2C
| u32 JoinAvailabilityFlag
| [[Friend_Services#Presence|Presence]]
|-
| 0x4
| 0x4
| u32 MatchmakeSystemType
|-
| 0x8
| 0x4
| u32 JoinGameID
|-
| 0xC
| 0x4
| u32 JoinGameMode
|-
| 0x10
| 0x4
| u32 OwnerPrincipalID
|-
| 0x14
| 0x4
| u32 JoinGroupID
|-
| 0x18
| 0x14
| u8 ApplicationArg[20]
|-
|-
| 0x2C
| 0x2C
Line 76: Line 35:


=Description=
=Description=
Returns the console's friend presence.
Returns the console's friend presence and game mode description.