Shared Database services: Difference between revisions
No edit summary |
No edit summary |
||
Line 276: | Line 276: | ||
== Cmd9 == | == Cmd9 == | ||
Takes an input u8 [[#AppletEventType]], an u8 [[Applet_Manager_services#AppletId|AppletId]], an u8 [[Filesystem_services#StorageId|StorageId]], an 0x20-byte struct, an u8 bool flag, an u8 [[#PlayLogPolicy]], an u32 '''event_x8''', and an u64 '''titleID'''. Returns no output. | Takes an input u8 [[#AppletEventType]], an u8 [[Applet_Manager_services#AppletId|AppletId]], an u8 [[Filesystem_services#StorageId|StorageId]], an 0x20-byte struct, an u8 bool flag, an u8 [[#PlayLogPolicy]], an u32 '''event_x8''', and an u64 '''titleID'''. Returns no output. | ||
[10.0.0+] This now takes an additional 8-bytes of input. | |||
This is identical to [[#NotifyAppletEvent]] except for the additional struct/flag params. | This is identical to [[#NotifyAppletEvent]] except for the additional struct/flag params. | ||
Line 321: | Line 323: | ||
|- | |- | ||
| 16 || [6.0.0+] [[#QueryApplicationPlayStatisticsByUserAccountIdForSystem]] | | 16 || [6.0.0+] [[#QueryApplicationPlayStatisticsByUserAccountIdForSystem]] | ||
|- | |||
| 17 || [10.0.0+] | |||
|- | |||
| 18 || [10.0.0+] | |||
|- | |||
| 19 || [10.0.0+] | |||
|} | |} | ||
== QueryAppletEvent == | == QueryAppletEvent == | ||
Takes an input s32 entry_index, a type-0x6 output buffer containing an array of [[#AppletEvent]], and returns an output s32 for actual total output entries. | Takes an input s32 entry_index, a type-0x6 output buffer containing an array of [[#AppletEvent]], and returns an output s32 for actual total output entries. | ||
[10.0.0+] This now takes an additional 4-bytes of input. | |||
== QueryPlayStatistics == | == QueryPlayStatistics == | ||
Line 343: | Line 353: | ||
== QueryPlayStatisticsByApplicationId == | == QueryPlayStatisticsByApplicationId == | ||
Takes an input u64 '''ApplicationId''' and returns an output [[#PlayStatistics]]. | Takes an input u64 '''ApplicationId''' and returns an output [[#PlayStatistics]]. | ||
[10.0.0+] This now takes an additional 8-bytes of input. | |||
== QueryPlayStatisticsByApplicationIdAndUserAccountId == | == QueryPlayStatisticsByApplicationIdAndUserAccountId == | ||
Takes an input u64 '''ApplicationId''', an input u128 '''Uid''' and returns an output [[#PlayStatistics]]. | Takes an input u64 '''ApplicationId''', an input u128 '''Uid''' and returns an output [[#PlayStatistics]]. | ||
[10.0.0+] This now takes an additional 8-bytes of input. | |||
== QueryPlayStatisticsByApplicationIdAndNetworkServiceAccountId == | == QueryPlayStatisticsByApplicationIdAndNetworkServiceAccountId == | ||
Line 377: | Line 391: | ||
== QueryRecentlyPlayedApplication == | == QueryRecentlyPlayedApplication == | ||
Takes an input u128 '''Uid''', a type-0x6 output buffer containing an array of u64 '''ApplicationId''', and returns an output s32 for actual total output entries. | Takes an input u128 '''Uid''', a type-0x6 output buffer containing an array of u64 '''ApplicationId''', and returns an output s32 for actual total output entries. | ||
[10.0.0+] This now takes an additional 8-bytes of input. | |||
Returns a list of titles played by the specified user. | Returns a list of titles played by the specified user. |