EOS_AntiCheatServer_SetGameSessionId

EOS API reference page for EOS_AntiCheatServer_SetGameSessionId

Choose your implementation method:

C

C#

This function is part of the [AntiCheatServer Interface](Interfaces/AntiCheatServer).

Remarks

Optional. Sets or updates a game session identifier which can be attached to other data for reference. The identifier can be updated at any time for currently and subsequently registered clients. This function may only be called between a successful call to EOS_AntiCheatServer_BeginSession and the matching EOS_AntiCheatServer_EndSession call.

Return Value

  • EOS_Success - If the game session identifier was set successfully

  • EOS_InvalidParameters - If input data was invalid

Parameters

EOS_AntiCheatServer_SetGameSessionId

Parameter Type And Name

Usage Information

EOS_HAntiCheatServer Handle

const EOS_AntiCheatCommon_SetGameSessionIdOptions* Options

Structure containing input data.

This function is part of the [AntiCheatServer Interface](Interfaces/AntiCheatServer).

Remarks

Optional. Sets or updates a game session identifier which can be attached to other data for reference. The identifier can be updated at any time for currently and subsequently registered clients. This function may only be called between a successful call to EOS_AntiCheatServer_BeginSession and the matching EOS_AntiCheatServer_EndSession call.

Return Value

  • EOS_Success - If the game session identifier was set successfully

  • EOS_InvalidParameters - If input data was invalid

Parameters

AntiCheatServer.AntiCheatServerInterface.SetGameSessionId

Parameter Type And Name

Usage Information

AntiCheatCommon.SetGameSessionIdOptions options

Structure containing input data.

Tags