Shared Database services: Difference between revisions
No edit summary |
|||
Line 801: | Line 801: | ||
! Description | ! Description | ||
|- | |- | ||
| 0x0 || 0x8 || | | 0x0 || 0x8 || ProgramId | ||
|- | |- | ||
| 0x8 || 0x4 || Title version, set by pdm:ntfy [[#NotifyAppletEvent]] and [[#Cmd9]]. | | 0x8 || 0x4 || Title version, set by pdm:ntfy [[#NotifyAppletEvent]] and [[#Cmd9]]. | ||
Line 829: | Line 829: | ||
| 0x0 || 0x10 || userID | | 0x0 || 0x10 || userID | ||
|- | |- | ||
| 0x10 || 0x8 || | | 0x10 || 0x8 || ProgramId, when u8 +0x18 = 2. | ||
|- | |- | ||
| 0x18 || 0x1 || Type. 0-1 to be listed by [[#QueryAccountEvent]], or 2 to include the above | | 0x18 || 0x1 || Type. 0-1 to be listed by [[#QueryAccountEvent]], or 2 to include the above ProgramId. | ||
|- | |- | ||
| 0x19 || 0x3 || Padding | | 0x19 || 0x3 || Padding | ||
Line 842: | Line 842: | ||
This is a 0x38-byte struct. | This is a 0x38-byte struct. | ||
This is a 0x38-byte ([?-15.0.1] 0x40-byte) struct. | |||
[1.0.0-?]: | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 860: | Line 864: | ||
|- | |- | ||
| 0x28 || 0x8 || [[#PlayEvent]] +0x30 | | 0x28 || 0x8 || [[#PlayEvent]] +0x30 | ||
|- | |||
| 0x30 || 0x1 || [[#PlayEvent]] +0x18 | |||
|- | |||
| 0x31 || 0x7 || Padding | |||
|} | |||
Pre-16.0.0: | |||
{| class="wikitable" border="1" | |||
|- | |||
! Offset | |||
! Size | |||
! Description | |||
|- | |||
| 0x0 || 0x10 || userID | |||
|- | |||
| 0x10 || 0x8 || ProgramId | |||
|- | |||
| 0x18 || 0x4 || entryindex | |||
|- | |||
| 0x1C || 0x4 || Padding | |||
|- | |||
| 0x20 || 0x8 || [[#PlayEvent]] +0x20 | |||
|- | |||
| 0x28 || 0x8 || [[#PlayEvent]] +0x28 | |||
|- | |||
| 0x30 || 0x8 || [[#PlayEvent]] +0x30 | |||
|- | |||
| 0x38 || 0x1 || [[#PlayEvent]] +0x18 | |||
|- | |||
| 0x31 || 0x7 || Padding | |||
|} | |||
[16.0.0+]: | |||
{| class="wikitable" border="1" | |||
|- | |||
! Offset | |||
! Size | |||
! Description | |||
|- | |||
| 0x0 || 0x10 || userID | |||
|- | |||
| 0x10 || 0x8 || ProgramId | |||
|- | |||
| 0x18 || 0x4 || entryindex | |||
|- | |||
| 0x1C || 0x4 || Padding | |||
|- | |||
| 0x20 || 0x8 || [[#PlayEvent]] +0x20 | |||
|- | |||
| 0x28 || 0x8 || [[#PlayEvent]] +0x28 | |||
|- | |- | ||
| 0x30 || 0x1 || [[#PlayEvent]] +0x18 | | 0x30 || 0x1 || [[#PlayEvent]] +0x18 | ||
Line 879: | Line 935: | ||
| 0x0 || 0x4 || ? | | 0x0 || 0x4 || ? | ||
|- | |- | ||
| 0x4 || 0x8 || | | 0x4 || 0x8 || ProgramId, with the u32 low/high words swapped. | ||
|- | |- | ||
| 0xC || 0xC || ? | | 0xC || 0xC || ? |