EOS_AntiCheatClient_UnprotectMessage

EOS API reference page for EOS_AntiCheatClient_UnprotectMessage

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

C

C#

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

Remarks

Optional NetProtect feature for game message encryption. Decrypts an encrypted message received from the game server. Mode: EOS_ACCM_ClientServer. Options.Data and OutBuffer may refer to the same buffer to decrypt in place.

Return Value

  • EOS_Success - If the message was unprotected successfully

  • EOS_InvalidParameters - If input data was invalid

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

Parameters

EOS_AntiCheatClient_UnprotectMessage

Parameter Type And Name

Usage Information

EOS_HAntiCheatClient Handle

const EOS_AntiCheatClient_UnprotectMessageOptions* Options

Structure containing input data.

void* OutBuffer

On success, buffer where encrypted message data will be written.

uint32_t* OutBufferLengthBytes

Number of bytes that were written to OutBuffer.

Related API Members

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

Remarks

Optional NetProtect feature for game message encryption. Decrypts an encrypted message received from the game server. Mode: EOS_ACCM_ClientServer. Options.Data and OutBuffer may refer to the same buffer to decrypt in place.

Return Value

  • EOS_Success - If the message was unprotected successfully

  • EOS_InvalidParameters - If input data was invalid

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

Parameters

AntiCheatClient.AntiCheatClientInterface.UnprotectMessage

Parameter Type And Name

Usage Information

UnprotectMessageOptions options

Structure containing input data.

byte[] outBuffer

On success, buffer where encrypted message data will be written.

Related API Members

タグ