Choose your implementation method:
This data structure is part of the Metrics Interface.
BeginPlayerSession.
Properties
EOS_Metrics_BeginPlayerSessionOptions
Property
|
Value
|
int32_t ApiVersion
|
API Version: Set this to EOS_METRICS_BEGINPLAYERSESSION_API_LATEST.
|
EOS_EMetricsAccountIdType AccountIdType
|
Account ID type that is set in the union.
|
EOS_EpicAccountId Epic
|
An Epic Account ID. Set this field when AccountIdType is set to EOS_MAIT_Epic.
|
const char* External
|
An Account ID for another service. Set this field when AccountIdType is set to EOS_MAIT_External.
|
} AccountId
|
An Account ID for another service. Set this field when AccountIdType is set to EOS_MAIT_External.
|
const char* DisplayName
|
The in-game display name for the user as UTF-8 string.
|
EOS_EUserControllerType ControllerType
|
The user's game controller type.
|
const char* ServerIp
|
IP address of the game server hosting the game session. For a localhost session, set to NULL.
|
const char* GameSessionId
|
Optional, application-defined custom match session identifier. If the identifier is not used, set to NULL.
which will be shown in the Played Sessions listing at the user profile dashboard.
|
This data structure is part of the Metrics Interface.
BeginPlayerSession.
Properties
Metrics.BeginPlayerSessionOptions
Property
|
Value
|
int ApiVersion
|
API Version: Set this to EOS_METRICS_BEGINPLAYERSESSION_API_LATEST.
|
BeginPlayerSessionOptionsAccountId AccountId
|
An Account ID for another service. Set this field when AccountIdType is set to EOS_MAIT_External.
|
string DisplayName
|
The in-game display name for the user as UTF-8 string.
|
UserControllerType ControllerType
|
The user's game controller type.
|
string ServerIp
|
IP address of the game server hosting the game session. For a localhost session, set to NULL.
|
string GameSessionId
|
Optional, application-defined custom match session identifier. If the identifier is not used, set to NULL.
which will be shown in the Played Sessions listing at the user profile dashboard.
|
Was this document useful?
Thank you for the response!
You’ve marked this document as useful:
yes
You’ve marked this document as not useful:
no