Class EOS_Reports_SendPlayerBehaviorReportOptions
java.lang.Object
com.sun.jna.Structure
host.anzo.eossdk.eos.sdk.reports.options.EOS_Reports_SendPlayerBehaviorReportOptions
- Direct Known Subclasses:
EOS_Reports_SendPlayerBehaviorReportOptions.ByReference
,EOS_Reports_SendPlayerBehaviorReportOptions.ByValue
@FieldOrder({"ApiVersion","ReporterUserId","ReportedUserId","Category","Message","Context"})
public class EOS_Reports_SendPlayerBehaviorReportOptions
extends com.sun.jna.Structure
Input parameters for the EOS_Reports_SendPlayerBehaviorReport function.
- Since:
- 8/19/2023
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Nested classes/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
-
Field Summary
Modifier and TypeFieldDescriptionint
API Version: Set this toEOS_REPORTS_SENDPLAYERBEHAVIORREPORT_API_LATEST
.Category for the player report.Optional JSON string associated with the report as UTF-8 encoded null-terminated string.static final int
Max length of a report context JSON payload, not including the null terminator.static final int
Max length of a report message text, not including the null terminator.static final int
The most recent version of the EOS_Reports_SendPlayerBehaviorReport API.Optional plain text string associated with the report as UTF-8 encoded null-terminated string.Product User ID of the reported player.Product User ID of the reporting playerFields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
-
Constructor Summary
ConstructorDescriptionEOS_Reports_SendPlayerBehaviorReportOptions
(com.sun.jna.Pointer peer) EOS_Reports_SendPlayerBehaviorReportOptions
(EOS_ProductUserId reporterUserId, EOS_ProductUserId reportedUserId, EOS_EPlayerReportsCategory category, String message, String context) EOS_Reports_SendPlayerBehaviorReportOptions
(String reporterUserId, String reportedUserId, EOS_EPlayerReportsCategory category, String message, String context) -
Method Summary
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
Field Details
-
EOS_REPORTS_SENDPLAYERBEHAVIORREPORT_API_LATEST
public static final int EOS_REPORTS_SENDPLAYERBEHAVIORREPORT_API_LATESTThe most recent version of the EOS_Reports_SendPlayerBehaviorReport API.- See Also:
-
EOS_REPORTS_REPORTMESSAGE_MAX_LENGTH
public static final int EOS_REPORTS_REPORTMESSAGE_MAX_LENGTHMax length of a report message text, not including the null terminator.- See Also:
-
EOS_REPORTS_REPORTCONTEXT_MAX_LENGTH
public static final int EOS_REPORTS_REPORTCONTEXT_MAX_LENGTHMax length of a report context JSON payload, not including the null terminator.- See Also:
-
ApiVersion
public int ApiVersionAPI Version: Set this toEOS_REPORTS_SENDPLAYERBEHAVIORREPORT_API_LATEST
. -
ReporterUserId
Product User ID of the reporting player -
ReportedUserId
Product User ID of the reported player. -
Category
Category for the player report. -
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. -
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.
-
-
Constructor Details
-
EOS_Reports_SendPlayerBehaviorReportOptions
public EOS_Reports_SendPlayerBehaviorReportOptions() -
EOS_Reports_SendPlayerBehaviorReportOptions
public EOS_Reports_SendPlayerBehaviorReportOptions(EOS_ProductUserId reporterUserId, EOS_ProductUserId reportedUserId, EOS_EPlayerReportsCategory category, String message, String context) -
EOS_Reports_SendPlayerBehaviorReportOptions
public EOS_Reports_SendPlayerBehaviorReportOptions(String reporterUserId, String reportedUserId, EOS_EPlayerReportsCategory category, String message, String context) -
EOS_Reports_SendPlayerBehaviorReportOptions
public EOS_Reports_SendPlayerBehaviorReportOptions(com.sun.jna.Pointer peer)
-