Applet Manager services: Difference between revisions

No edit summary
Line 604: Line 604:
| 110 || [5.0.0+] [[#QueryApplicationPlayStatistics]] ||  
| 110 || [5.0.0+] [[#QueryApplicationPlayStatistics]] ||  
|-
|-
| 111 || [6.0.0+] QueryApplicationPlayStatisticsByUid ||  
| 111 || [6.0.0+] [[#QueryApplicationPlayStatisticsByUid]] ||  
|-
|-
| 120 || [5.0.0+] ExecuteProgram ||  
| 120 || [5.0.0+] ExecuteProgram ||  
Line 706: Line 706:


==== QueryApplicationPlayStatistics ====
==== QueryApplicationPlayStatistics ====
Takes a type-0x6 output buffer containing an array of ApplicationPlayStatistics and a type-0x5 input buffer containing an array of u64 titleIDs. Returns an output s32 (actual total output entries?).
Takes a type-0x6 output buffer containing an array of [[Shared_Database_services|ApplicationPlayStatistics]] and a type-0x5 input buffer containing an array of u64 titleIDs. Returns an output s32 for actual total output entries.


The number of entries in each array is the same. ApplicationPlayStatistics is a 8-byte struct.
The number of entries in each array is the same.
 
See also [[NACP_Format#PlayLogQuery]].
 
==== QueryApplicationPlayStatisticsByUid ====
Takes a u128 userID, a type-0x6 output buffer containing an array of [[Shared_Database_services|ApplicationPlayStatistics]] and a type-0x5 input buffer containing an array of u64 titleIDs. Returns an output s32 for actual total output entries.
 
Same as [[#QueryApplicationPlayStatistics]] except this gets playstats specific to userIDs.


==== ClearUserChannel ====
==== ClearUserChannel ====