EOS API reference page for EOS_AntiCheatServer_GetProtectMessageOutputLength

1분 미만 소요

This function is part of the AntiCheatServer 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.

Return Value

  • EOS_Success - If the output length was calculated successfully

  • EOS_InvalidParameters - If input data was invalid



Parameter Type And NameUsage Information
EOS_HAntiCheatServer Handle
const EOS_AntiCheatServer_GetProtectMessageOutputLengthOptions* OptionsStructure containing input data.
uint32_t* OutBufferSizeBytes