Choose your implementation method:
This function is part of the AntiCheatClient Interface.
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* OutBufferSizeBytes
|
On success, the OutBuffer length in bytes that is required to call ProtectMessage on the given input size.
|
This function is part of the AntiCheatClient Interface.
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: {AntiCheatClientMode.ClientServer}.
{Result.InvalidParameters} - If input data was invalid
{Result.AntiCheatInvalidMode} - If the current mode does not support this function
Return Value
{Result.Success} - If the output length was calculated successfully
Parameters
AntiCheatClient.AntiCheatClientInterface.GetProtectMessageOutputLength
Parameter Type And Name
|
Usage Information
|
GetProtectMessageOutputLengthOptions options
|
Structure containing input data.
|
uint outBufferSizeBytes
|
On success, the OutBuffer length in bytes that is required to call ProtectMessage on the given input size.
|
Was this document useful?
Thank you for the response!
You’ve marked this document as useful:
yes
You’ve marked this document as not useful:
no