EOS_AntiCheatClient_RegisterPeer

EOS API reference page for EOS_AntiCheatClient_RegisterPeer

実装方法を選んでください。

C

C#

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

Remarks

Registers a connected peer-to-peer client. Mode: EOS_ACCM_PeerToPeer. Must be paired with a call to EOS_AntiCheatClient_UnregisterPeer if this user leaves the session in progress, or EOS_AntiCheatClient_EndSession if the entire session is ending.

Return Value

  • EOS_Success - If the player was registered successfully

  • EOS_InvalidParameters - If input data was invalid

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

Parameters

EOS_AntiCheatClient_RegisterPeer

Parameter Type And Name

Usage Information

EOS_HAntiCheatClient Handle

const EOS_AntiCheatClient_RegisterPeerOptions* Options

Structure containing input data.

Related API Members

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

Remarks

Registers a connected peer-to-peer client. Mode: EOS_ACCM_PeerToPeer. Must be paired with a call to EOS_AntiCheatClient_UnregisterPeer if this user leaves the session in progress, or EOS_AntiCheatClient_EndSession if the entire session is ending.

Return Value

  • EOS_Success - If the player was registered successfully

  • EOS_InvalidParameters - If input data was invalid

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

Parameters

AntiCheatClient.AntiCheatClientInterface.RegisterPeer

Parameter Type And Name

Usage Information

RegisterPeerOptions options

Structure containing input data.

Related API Members

タグ