diff options
| author | 2019-06-26 18:02:19 -0400 | |
|---|---|---|
| committer | 2019-09-21 19:17:08 -0400 | |
| commit | 787b191abf8789d18c829ab7e7135bb6e3fcc680 (patch) | |
| tree | 3f4b4927affb9c100bfeb4d0ea4fb97190f48d10 /src/core/reporter.h | |
| parent | Update README.md (#2871) (diff) | |
| download | yuzu-787b191abf8789d18c829ab7e7135bb6e3fcc680.tar.gz yuzu-787b191abf8789d18c829ab7e7135bb6e3fcc680.tar.xz yuzu-787b191abf8789d18c829ab7e7135bb6e3fcc680.zip | |
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: | |||
| 46 | std::vector<std::vector<u8>> normal_channel, | 46 | std::vector<std::vector<u8>> normal_channel, |
| 47 | std::vector<std::vector<u8>> interactive_channel) const; | 47 | std::vector<std::vector<u8>> interactive_channel) const; |
| 48 | 48 | ||
| 49 | void SavePlayReport(u64 title_id, u64 process_id, std::vector<std::vector<u8>> data, | 49 | enum class PlayReportType { |
| 50 | std::optional<u128> user_id = {}) const; | 50 | Old, |
| 51 | New, | ||
| 52 | System, | ||
| 53 | }; | ||
| 54 | |||
| 55 | void SavePlayReport(PlayReportType type, u64 title_id, std::vector<std::vector<u8>> data, | ||
| 56 | std::optional<u64> process_id = {}, std::optional<u128> user_id = {}) const; | ||
| 51 | 57 | ||
| 52 | void SaveErrorReport(u64 title_id, ResultCode result, | 58 | void SaveErrorReport(u64 title_id, ResultCode result, |
| 53 | std::optional<std::string> custom_text_main = {}, | 59 | std::optional<std::string> custom_text_main = {}, |