EOS_Metrics_EndPlayerSession

EOS API reference page for EOS_Metrics_EndPlayerSession

1分未満

This function is part of the Metrics Interface.

Remarks

Logs the end of a game session for a local player. Call once when the game client leaves the active game session. Each call to BeginPlayerSession must be matched with a corresponding call to EndPlayerSession.

Return Value

Returns EOS_Success on success, or an error code if the input parameters are invalid or there was no active session for the player.

Parameters

EOS_Metrics_EndPlayerSession

Parameter Type And NameUsage Information
EOS_HMetrics Handle
const EOS_Metrics_EndPlayerSessionOptions* OptionsStructure containing the account id of the player whose session to end.