Class EOS_Metrics_BeginPlayerSessionOptions
java.lang.Object
com.sun.jna.Structure
host.anzo.eossdk.eos.sdk.metrics.options.EOS_Metrics_BeginPlayerSessionOptions
- Direct Known Subclasses:
EOS_Metrics_BeginPlayerSessionOptions.ByReference,EOS_Metrics_BeginPlayerSessionOptions.ByValue
@FieldOrder({"ApiVersion","AccountIdType","AccountId","DisplayName","ControllerType","ServerIp","GameSessionId"})
public class EOS_Metrics_BeginPlayerSessionOptions
extends com.sun.jna.Structure
BeginPlayerSession
- Since:
- 8/21/2023
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classNested classes/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField -
Field Summary
FieldsModifier and TypeFieldDescriptionThe Account ID for the player whose session is beginning.The Account ID type that is set in the union.intAPI Version: Set this toEOS_METRICS_BEGINPLAYERSESSION_API_LATEST.The user's game controller type.The in-game display name for the user as UTF-8 string.static final intThe most recent version of the EOS_Metrics_BeginPlayerSessionOptions struct.Optional, application-defined custom match session identifier.IP address of the game server hosting the game session.Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE -
Constructor Summary
Constructors -
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_METRICS_BEGINPLAYERSESSION_API_LATEST
public static final int EOS_METRICS_BEGINPLAYERSESSION_API_LATESTThe most recent version of the EOS_Metrics_BeginPlayerSessionOptions struct.- See Also:
-
ApiVersion
public int ApiVersionAPI Version: Set this toEOS_METRICS_BEGINPLAYERSESSION_API_LATEST. -
AccountIdType
The Account ID type that is set in the union. -
AccountId
The Account ID for the player whose session is beginning. -
DisplayName
The in-game display name for the user as UTF-8 string. -
ControllerType
The user's game controller type. -
ServerIp
IP address of the game server hosting the game session. For a localhost session, set to NULL.
Must be in either one of the following IPv4 or IPv6 string formats:- "127.0.0.1".
- "1200:0000:AB00:1234:0000:2552:7777:1313".
-
GameSessionId
Optional, application-defined custom match session identifier. If the identifier is not used, set to NULL.
The game can tag each game session with a custom session match identifier, which will be shown in the Played Sessions listing at the user profile dashboard.
-
-
Constructor Details
-
EOS_Metrics_BeginPlayerSessionOptions
public EOS_Metrics_BeginPlayerSessionOptions() -
EOS_Metrics_BeginPlayerSessionOptions
public EOS_Metrics_BeginPlayerSessionOptions(com.sun.jna.Pointer peer)
-