Shared Database services: Difference between revisions

No edit summary
u32 -> s32
Line 324: Line 324:


== QueryAppletEvent ==
== QueryAppletEvent ==
Takes an input u32 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 entryindex, a type-0x6 output buffer containing an array of [[#AppletEvent]], and returns an output s32 for actual total output entries.


== QueryPlayStatisticsByApplicationId ==
== QueryPlayStatisticsByApplicationId ==
Line 336: Line 336:


== QueryPlayEvent ==
== QueryPlayEvent ==
Takes an input u32 entryindex, a type-0x6 output buffer containing an array of [[#PlayEvent]], and returns an output u32 for actual total output entries.
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.


== GetAvailablePlayEventRange ==
== GetAvailablePlayEventRange ==
No input, returns 3 output u32s: total_entries, start_entryindex, and end_entryindex.
No input, returns 3 output s32s: total_entries, start_entryindex, and end_entryindex.


== QueryAccountEvent ==
== QueryAccountEvent ==
Takes an input u32 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 entryindex, 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 u32 entryoffset, an input u128 userID, a type-0x6 output buffer containing an array of [[#AccountPlayEvent]], and returns an output u32 for actual total output entries.
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.


== GetAvailableAccountPlayEventRange ==
== GetAvailableAccountPlayEventRange ==
Takes an input u128 userID and returns 3 output u32s: total_entries, start_entryindex, and end_entryindex.
Takes an input u128 userID and returns 3 output s32s: total_entries, start_entryindex, and end_entryindex.


== QueryApplicationPlayStatisticsForSystem ==
== QueryApplicationPlayStatisticsForSystem ==
Line 356: Line 356:


== QueryRecentlyPlayedApplication ==
== QueryRecentlyPlayedApplication ==
Takes an input u128 userID, a type-0x6 output buffer containing an array of u64 titleIDs, and returns an output u32 for actual total output entries.
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.


Returns a list of titles played by the specified user.
Returns a list of titles played by the specified user.