EOS API reference page for EOS_Metrics_EndPlayerSession

1분 소요

This function is part of the Metrics Interface.


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.



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