EOS_Reports_SendPlayerBehaviorReportOptions

EOS API reference page for EOS_Reports_SendPlayerBehaviorReportOptions

Choose your implementation method:

C

C#

This data structure is part of the [Reports Interface](Interfaces/Reports).

Remarks

Input parameters for the EOS_Reports_SendPlayerBehaviorReport function.

Properties

EOS_Reports_SendPlayerBehaviorReportOptions

Property

Value

int32_t ApiVersion

API Version: Set this to EOS_REPORTS_SENDPLAYERBEHAVIORREPORT_API_LATEST.

EOS_ProductUserId ReporterUserId

Product User ID of the reporting player

EOS_ProductUserId ReportedUserId

Product User ID of the reported player.

EOS_EPlayerReportsCategory Category

Category for the player report.

const char* Message

Optional 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* Context

Optional 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.

Related API Members

This data structure is part of the [Reports Interface](Interfaces/Reports).

Remarks

Input parameters for the EOS_Reports_SendPlayerBehaviorReport function.

Properties

Reports.SendPlayerBehaviorReportOptions

Property

Value

int ApiVersion

API Version: Set this to EOS_REPORTS_SENDPLAYERBEHAVIORREPORT_API_LATEST.

ProductUserId ReporterUserId

Product User ID of the reporting player

ProductUserId ReportedUserId

Product User ID of the reported player.

PlayerReportsCategory Category

Category for the player report.

string Message

Optional 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.

string Context

Optional 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.

Related API Members