EOS_Reports_SendPlayerBehaviorReportOptions

EOS API reference page for EOS_Reports_SendPlayerBehaviorReportOptions

2 分で読める

This data structure is part of the Reports Interface.

Remarks

Input parameters for the EOS_Reports_SendPlayerBehaviorReport function.

Properties

EOS_Reports_SendPlayerBehaviorReportOptions

PropertyValue
int32_t ApiVersionAPI Version: Set this to EOS_REPORTS_SENDPLAYERBEHAVIORREPORT_API_LATEST.
EOS_ProductUserId ReporterUserIdProduct User ID of the reporting player
EOS_ProductUserId ReportedUserIdProduct User ID of the reported player.
EOS_EPlayerReportsCategory CategoryCategory for the player report.
const char* MessageOptional plain text string associated with the report as UTF-8 encoded null-terminated string. The length of the message can be at maximum up to EOS_REPORTS_REPORTMESSAGE_MAX_LENGTH bytes and any excess characters will be truncated upon sending the report.
const char* ContextOptional JSON string associated with the report as UTF-8 encoded null-terminated string. This is intended as a way to associate arbitrary structured context information with a report. This string needs to be valid JSON, report will fail otherwise. The length of the context can be at maximum up to EOS_REPORTS_REPORTCONTEXT_MAX_LENGTH bytes, not including the null terminator, report will fail otherwise.