Line 290: |
Line 290: |
| | 0 || [[#QueryAppletEvent]] ([1.0.0-7.0.1] QueryApplicationEvent) | | | 0 || [[#QueryAppletEvent]] ([1.0.0-7.0.1] QueryApplicationEvent) |
| |- | | |- |
− | | [1.0.0-6.2.0] 1 || QueryPlayStatistics | + | | [1.0.0-6.2.0] 1 || [[#QueryPlayStatistics |
| |- | | |- |
− | | [1.0.0-6.2.0] 2 || QueryPlayStatisticsByUserAccountId | + | | [1.0.0-6.2.0] 2 || [[#QueryPlayStatisticsByUserAccountId |
| |- | | |- |
− | | [1.0.0-6.2.0] 3 || QueryPlayStatisticsByNetworkServiceAccountId | + | | [1.0.0-6.2.0] 3 || [[#QueryPlayStatisticsByNetworkServiceAccountId |
| |- | | |- |
| | 4 || [[#QueryPlayStatisticsByApplicationId]] | | | 4 || [[#QueryPlayStatisticsByApplicationId]] |
Line 300: |
Line 300: |
| | 5 || [[#QueryPlayStatisticsByApplicationIdAndUserAccountId]] | | | 5 || [[#QueryPlayStatisticsByApplicationIdAndUserAccountId]] |
| |- | | |- |
− | | [1.0.0-6.2.0] 6 || QueryPlayStatisticsByApplicationIdAndNetworkServiceAccountId | + | | [1.0.0-6.2.0] 6 || [[#QueryPlayStatisticsByApplicationIdAndNetworkServiceAccountId |
| |- | | |- |
| | 7 || [[#QueryLastPlayTime]] | | | 7 || [[#QueryLastPlayTime]] |
Line 324: |
Line 324: |
| | | |
| == QueryAppletEvent == | | == QueryAppletEvent == |
− | Takes an input s32 entryindex, 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. |
| + | |
| + | == QueryPlayStatistics == |
| + | Takes a type-0x6 output buffer containing an array of [[#PlayStatistics]] and returns an output s32 for actual total output entries. |
| + | |
| + | [6.2.0+] This command was removed. |
| + | |
| + | == QueryPlayStatisticsByUserAccountId == |
| + | Takes an input u128 '''Uid''', a type-0x6 output buffer containing an array of [[#PlayStatistics]] and returns an output s32 for actual total output entries. |
| + | |
| + | [6.2.0+] This command was removed. |
| + | |
| + | == QueryPlayStatisticsByNetworkServiceAccountId == |
| + | Takes an input u64 '''NetworkServiceAccountId''', a type-0x6 output buffer containing an array of [[#PlayStatistics]] and returns an output s32 for actual total output entries. |
| + | |
| + | [6.2.0+] This command was removed. |
| | | |
| == QueryPlayStatisticsByApplicationId == | | == QueryPlayStatisticsByApplicationId == |
− | Takes an input u64 titleID and returns an output [[#PlayStatistics]]. | + | Takes an input u64 '''ApplicationId''' and returns an output [[#PlayStatistics]]. |
| | | |
| == QueryPlayStatisticsByApplicationIdAndUserAccountId == | | == QueryPlayStatisticsByApplicationIdAndUserAccountId == |
− | Takes an input u64 titleID, an input u128 userID, and returns an output [[#PlayStatistics]]. | + | Takes an input u64 '''ApplicationId''', an input u128 '''Uid''' and returns an output [[#PlayStatistics]]. |
| + | |
| + | == QueryPlayStatisticsByApplicationIdAndNetworkServiceAccountId == |
| + | Takes an input u64 '''ApplicationId''', an input u64 '''NetworkServiceAccountId''' and returns an output [[#PlayStatistics]]. |
| + | |
| + | [6.2.0+] This command was removed. |
| | | |
| == QueryLastPlayTime == | | == QueryLastPlayTime == |
− | 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 s32 for actual total output entries. | + | Takes a type-0x6 output buffer containing an array of [[#LastPlayTime]], and a type-0x5 input buffer containing an array of u64 '''ApplicationId'''. Returns an output s32 for actual total output entries. |
| | | |
| == QueryPlayEvent == | | == QueryPlayEvent == |
− | Takes an input s32 entryindex, a type-0x6 output buffer containing an array of [[#PlayEvent]], 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 [[#PlayEvent]], and returns an output s32 for actual total output entries. |
| | | |
| == GetAvailablePlayEventRange == | | == GetAvailablePlayEventRange == |
− | No input, returns 3 output s32s: total_entries, start_entryindex, and end_entryindex. | + | No input, returns 3 output s32s: total_entries, start_entry_index, and end_entry_index. |
| | | |
| == QueryAccountEvent == | | == QueryAccountEvent == |
− | Takes an input s32 entryindex, a type-0x6 output buffer containing an array of [[#AccountEvent]], 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 [[#AccountEvent]], and returns an output s32 for actual total output entries. |
| | | |
| == QueryAccountPlayEvent == | | == QueryAccountPlayEvent == |
− | Takes an input s32 entryoffset, an input u128 userID, a type-0x6 output buffer containing an array of [[#AccountPlayEvent]], and returns an output s32 for actual total output entries. | + | Takes an input s32 entry_offset, an input u128 '''Uid''', a type-0x6 output buffer containing an array of [[#AccountPlayEvent]], and returns an output s32 for actual total output entries. |
| | | |
| == GetAvailableAccountPlayEventRange == | | == GetAvailableAccountPlayEventRange == |
− | Takes an input u128 userID and returns 3 output s32s: total_entries, start_entryindex, and end_entryindex. | + | Takes an input u128 '''Uid''' and returns 3 output s32s: total_entries, start_entry_index, and end_entry_index. |
| | | |
| == QueryApplicationPlayStatisticsForSystem == | | == QueryApplicationPlayStatisticsForSystem == |
− | 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 for actual total output entries. | + | Takes a type-0x6 output buffer containing an array of [[#ApplicationPlayStatistics]] and a type-0x5 input buffer containing an array of u64 '''ApplicationId'''. Returns an output s32 for actual total output entries. |
| | | |
| The number of entries in each array is the same. | | The number of entries in each array is the same. |
| | | |
| == QueryRecentlyPlayedApplication == | | == QueryRecentlyPlayedApplication == |
− | Takes an input u128 userID, a type-0x6 output buffer containing an array of u64 titleIDs, 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. |
| | | |
| Returns a list of titles played by the specified user. | | Returns a list of titles played by the specified user. |
Line 366: |
Line 386: |
| | | |
| == QueryApplicationPlayStatisticsByUserAccountIdForSystem == | | == QueryApplicationPlayStatisticsByUserAccountIdForSystem == |
− | Takes a u128 userID, 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 for actual total output entries. | + | Takes a u128 '''Uid''', a type-0x6 output buffer containing an array of [[#ApplicationPlayStatistics]] and a type-0x5 input buffer containing an array of u64 '''ApplicationId'''. Returns an output s32 for actual total output entries. |
| | | |
− | Same as [[#QueryApplicationPlayStatisticsForSystem]] except this gets playstats specific to userIDs. | + | Same as [[#QueryApplicationPlayStatisticsForSystem]] except this gets playstats specific to '''Uid'''. |
| | | |
| = avm = | | = avm = |