EOS_Metrics_BeginPlayerSessionOptions

EOS API reference page for EOS_Metrics_BeginPlayerSessionOptions

実装方法を選んでください。

C

C#

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

Remarks

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 Online Services 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.

  • "127.0.0.1".

  • "1200:0000:AB00:1234:0000:2552:7777:1313". If both IPv4 and IPv6 addresses are available, use the IPv6 address.

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.

Related API Members

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

Remarks

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.

  • "127.0.0.1".

  • "1200:0000:AB00:1234:0000:2552:7777:1313". If both IPv4 and IPv6 addresses are available, use the IPv6 address.

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.

Related API Members

タグ