reporter: Differentiate between Old, New, and System play reports

This commit is contained in:
Zach Hilman 2019-06-26 18:02:19 -04:00
parent 2b514275ad
commit 787b191abf
2 changed files with 15 additions and 5 deletions

View file

@ -46,8 +46,14 @@ public:
std::vector<std::vector<u8>> normal_channel,
std::vector<std::vector<u8>> interactive_channel) const;
void SavePlayReport(u64 title_id, u64 process_id, std::vector<std::vector<u8>> data,
std::optional<u128> user_id = {}) const;
enum class PlayReportType {
Old,
New,
System,
};
void SavePlayReport(PlayReportType type, u64 title_id, std::vector<std::vector<u8>> data,
std::optional<u64> process_id = {}, std::optional<u128> user_id = {}) const;
void SaveErrorReport(u64 title_id, ResultCode result,
std::optional<std::string> custom_text_main = {},