EOS API reference page for EOS_AntiCheatServer_SetClientNetworkState


This function is part of the AntiCheatServer Interface.


Optional. Can be used to indicate that a client is legitimately known to be temporarily unable to communicate, for example as a result of loading a new level. The bIsNetworkActive flag must be set back to true when users enter normal gameplay, otherwise anti-cheat enforcement will not work correctly. 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 network state was updated successfully

  • EOS_InvalidParameters - If input data was invalid



Parameter Type And NameUsage Information
EOS_HAntiCheatServer Handle
const EOS_AntiCheatServer_SetClientNetworkStateOptions* OptionsStructure containing input data.