This function is part of the AntiCheatClient Interface.
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* OutBufferSizeBytes |