3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/oreui/binding/facets/vanilla/PlayerReportFacet.h"
7#include "mc/client/safety/ReportArea.h"
8#include "mc/client/safety/ReportReason.h"
9#include "mc/deps/core/file/PathBuffer.h"
10#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
15class MultiPlayerLevel;
16namespace Json {
class Value; }
20 public ::std::enable_shared_from_this<::PlayerReportHandler> {
50 MCNAPI ::OreUI::PlayerReportFacet::DropdownOption
64 ::MultiPlayerLevel* level,
65 ::std::string
const& xuid,
66 ::std::string
const& platformId
70 ::std::vector<::OreUI::PlayerReportFacet::ChatMessageData>& chatMessages,
71 ::std::vector<int>& selectedChatMessages
74 MCNAPI ::std::vector<::OreUI::PlayerReportFacet::DropdownOption>
const
78 ::std::string
const& xuid,
79 ::std::string
const& platformId,
80 ::std::string
const& galleryScreenshotId
86 ::std::string reportMessage,
88 ::std::string platformId,
89 ::std::vector<int> selectedChatMessages
96 MCNAPI
void*
$ctor(::IClientInstance& clientInstance);
Definition PlayerReportHandler.h:5
MCAPI void captureAndSaveSkinForPlayerReport(::MultiPlayerLevel *level, ::std::string const &xuid, ::std::string const &platformId)
MCAPI PlayerReportHandler(::IClientInstance &clientInstance)
MCAPI void * $ctor(::IClientInstance &clientInstance)
MCAPI::Json::Value createChatLogsJsonFromSelectedMessages(::std::vector<::OreUI::PlayerReportFacet::ChatMessageData > &chatMessages, ::std::vector< int > &selectedChatMessages)
MCAPI ::std::vector<::OreUI::PlayerReportFacet::DropdownOption > const getReportReasonOptionsForReportArea(::Safety::ReportArea const &area) const
MCAPI::std::string _reportAreaToString(::Safety::ReportArea area) const
MCAPI void initiatePlayerReport(::std::string const &xuid, ::std::string const &platformId, ::std::string const &galleryScreenshotId)
MCAPI::OreUI::PlayerReportFacet::DropdownOption _createReportReasonDropdownOption(::Safety::ReportReason reason) const
MCAPI ::Core::PathBuffer<::std::string > _getScreenshotPath() const
static MCAPI void ** $vftable()
MCAPI void captureAndSaveChatForPlayerReport(::std::string const &xuid)
MCAPI void captureAndSaveScreenshotForPlayerReport()
MCAPI void _sendCurrentPlayerReportPayload(::std::string gamertag)
MCAPI void reportPlayer(int reportArea, int reportReason, ::std::string reportMessage, ::std::string xuid, ::std::string platformId, ::std::vector< int > selectedChatMessages)