EOS_AntiCheatClient_UnregisterPeer

EOS API reference page for EOS_AntiCheatClient_UnregisterPeer

Under 1 min to read

This function is part of the AntiCheatClient Interface.

Remarks

Unregisters a disconnected peer-to-peer client. Mode: EOS_ACCM_PeerToPeer. Must be called when a user leaves a session in progress.

Return Value

  • EOS_Success - If the player was unregistered successfully

  • EOS_InvalidParameters - If input data was invalid

  • EOS_AntiCheat_InvalidMode - If the current mode does not support this function

Parameters

EOS_AntiCheatClient_UnregisterPeer

Parameter Type And NameUsage Information
EOS_HAntiCheatClient Handle
const EOS_AntiCheatClient_UnregisterPeerOptions* OptionsStructure containing input data.