EOS_AntiCheatServer_GetProtectMessageOutputLength

EOS API reference page for EOS_AntiCheatServer_GetProtectMessageOutputLength

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

C

C#

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

Return Value

  • EOS_Success - If the output length was calculated successfully

  • EOS_InvalidParameters - If input data was invalid

Parameters

EOS_AntiCheatServer_GetProtectMessageOutputLength

Parameter Type And Name

Usage Information

EOS_HAntiCheatServer Handle

const EOS_AntiCheatServer_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 AntiCheatServer 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.

Return Value

  • EOS_Success - If the output length was calculated successfully

  • EOS_InvalidParameters - If input data was invalid

Parameters

AntiCheatServer.AntiCheatServerInterface.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