FRDU:GetFriendPlayingGame

From 3dbrew
Jump to navigation Jump to search

Request[edit]

Index Word Description
0
Header 0x00180044 Cmd 0x0018 Param 1 Xlat 4
1 Count
2 Descriptor for static buffer (id 0)
3 Input FriendKey buffer
4 Descriptor for mapping a write-only buffer in the target process
5 Output Playing Game buffer

Response[edit]

Index Word Description
0
Header 0x00180042 Cmd 0x0018 Param 1 Xlat 2
1 Result code
2 Descriptor for mapping a write-only buffer in the target process
3 Output Playing Game buffer

Playing Game Structure[edit]

Offset Size Description
0x0 0x10 FriendKey
0x10 0x100 UTF-16 encoded Game Mode Description

Description[edit]

Gets information about the currently played game for the input friend keys. If an input friend key is not found in the friends list, an internal default placeholder friend entry will be used to populate the data.