EOS_AntiCheatClient_GetProtectMessageOutputLength

EOS API reference page for EOS_AntiCheatClient_GetProtectMessageOutputLength

Choose your implementation method:

C

C#

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

Remarks

Optional NetProtect feature for game message encryption. Calculates the required decrypted buffer size for a given input data length. This will not change for a given SDK version, and allows one time allocation of reusable buffers. Mode: EOS_ACCM_ClientServer.

Return Value

  • EOS_Success - If the output length was calculated successfully

  • EOS_InvalidParameters - If input data was invalid

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

Parameters

EOS_AntiCheatClient_GetProtectMessageOutputLength

Parameter Type And Name

Usage Information

EOS_HAntiCheatClient Handle

const EOS_AntiCheatClient_GetProtectMessageOutputLengthOptions* Options

Structure containing input data.

uint32_t* OutBufferLengthBytes

The length in bytes that is required to call ProtectMessage on the given input size.

Related API Members

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

Remarks

Optional NetProtect feature for game message encryption. Calculates the required decrypted buffer size for a given input data length. This will not change for a given SDK version, and allows one time allocation of reusable buffers. Mode: EOS_ACCM_ClientServer.

Return Value

  • EOS_Success - If the output length was calculated successfully

  • EOS_InvalidParameters - If input data was invalid

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

Parameters

AntiCheatClient.AntiCheatClientInterface.GetProtectMessageOutputLength

Parameter Type And Name

Usage Information

GetProtectMessageOutputLengthOptions options

Structure containing input data.

uint outBufferLengthBytes

The length in bytes that is required to call ProtectMessage on the given input size.

Related API Members

Tags