Shared Database services: Difference between revisions

No edit summary
No edit summary
Line 261: Line 261:


== QueryPlayStatisticsByApplicationId ==
== QueryPlayStatisticsByApplicationId ==
Takes an input u64 and returns an output 0x28-byte struct.
Takes an input u64 titleID and returns an output [[#PlayStatistics]].


== QueryPlayStatisticsByApplicationIdAndUserAccountId ==
== QueryPlayStatisticsByApplicationIdAndUserAccountId ==
Line 267: Line 267:


== QueryLastPlayTime ==
== QueryLastPlayTime ==
Takes a type-0x6 output buffer containing an array where the struct size is 0x18-bytes, and a type-0x5 input buffer containing an array of u64s. Returns an output u32.
Takes a type-0x6 output buffer containing an array of [[#LastPlayTime]], and a type-0x5 input buffer containing an array of u64 titleIDs. Returns an output u32 for actual total output entries.


== QueryPlayEvent ==
== QueryPlayEvent ==
Line 345: Line 345:


= ApplicationEvent =
= ApplicationEvent =
{| class="wikitable" border="1"
|-
! Offset
! Size
! Description
|-
| 0x0 || 0x8 || titleID
|-
| 0x8 || 0x10 || ?
|}
This is a 0x18-byte struct.
= PlayStatistics =
{| class="wikitable" border="1"
|-
! Offset
! Size
! Description
|-
| 0x0 || 0x8 || titleID
|-
| 0x8 || 0x20 || ?
|}
This is a 0x28-byte struct.
= LastPlayTime =
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 359: Line 387:


= PlayEvent =
= PlayEvent =
{| class="wikitable" border="1"
|-
! Offset
! Size
! Description
|-
| 0x0 || 0x38 || ?
|}
This is a 0x38-byte struct.
This is a 0x38-byte struct.