diff options
author | Zach Hilman <zachhilman@gmail.com> | 2019-06-26 18:02:19 -0400 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2019-09-21 19:17:08 -0400 |
commit | 787b191abf8789d18c829ab7e7135bb6e3fcc680 (patch) | |
tree | 3f4b4927affb9c100bfeb4d0ea4fb97190f48d10 /src/core/reporter.h | |
parent | 2b514275ad241cd77526e1eeb798d5c08b22a333 (diff) |
reporter: Differentiate between Old, New, and System play reports
Diffstat (limited to 'src/core/reporter.h')
-rw-r--r-- | src/core/reporter.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/core/reporter.h b/src/core/reporter.h index 44256de50..f08aa11fb 100644 --- a/src/core/reporter.h +++ b/src/core/reporter.h @@ -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 = {}, |