FRDU:GetMyPreference: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
TimmSkiller (talk | contribs)
No edit summary
TimmSkiller (talk | contribs)
No edit summary
Line 1: Line 1:
=Request=
=Request=
{| class="wikitable" border="1"
{{IPC/Request}}
|-
{{IPC/RequestHeader|0x0006|0|0}}
!  Index Word
{{IPC/RequestEnd}}
!  Description
|-
| 0
| Header code [0x00060000]
|}


=Response=
=Response=
{| class="wikitable" border="1"
{{IPC/Request}}
|-
{{#vardefine:ipc_offset|0}}
!  Index Word
{{IPC/RequestHeader|0x0006|4|0}}
!  Description
{{IPC/RequestEntry|Result code}}
|-
{{IPC/RequestEntry|bool IsPublicMode, whether or not the online status is shown}}
| 0
{{IPC/RequestEntry|bool IsShowGameMode, whether or not the currently played game is shown}}
| Header code
{{IPC/RequestEntry|bool IsShowPlayedMode, whether or not the play history is shown}}
|-
{{IPC/RequestEnd}}
| 1
| Result code
|-
| 2
| Public mode (byte, 0 = private, non-zero = public)
|-
| 3
| Show current game (byte, 0 = don't show, non-zero = show)
|-
| 4
| Show game history (byte, 0 = don't show, non-zero = show)
|}


=Description=
=Description=
Returns the current friend notification settings, as configurable in the friends list.
Returns the current friend notification settings, as configurable in the friends list.

Revision as of 19:16, 12 December 2024

Request

Index Word Description
0
Header 0x00060000 Cmd 0x0006 Param 0 Xlat 0

Response

Index Word Description
0
Header 0x00060100 Cmd 0x0006 Param 4 Xlat 0
1 Result code
2 bool IsPublicMode, whether or not the online status is shown
3 bool IsShowGameMode, whether or not the currently played game is shown
4 bool IsShowPlayedMode, whether or not the play history is shown

Description

Returns the current friend notification settings, as configurable in the friends list.