EOS API reference page for EOS_AntiCheatServer_UnprotectMessage

1분 소요

This function is part of the AntiCheatServer Interface.


Optional NetProtect feature for game message encryption. Decrypts an encrypted message received from a game client. Options.Data and OutBuffer may refer to the same buffer to decrypt in place.

Return Value

  • EOS_Success - If the message was unprotected successfully

  • EOS_InvalidParameters - If input data was invalid



Parameter Type And NameUsage Information
EOS_HAntiCheatServer Handle
const EOS_AntiCheatServer_UnprotectMessageOptions* OptionsStructure containing input data.
void* OutBufferOn success, buffer where encrypted message data will be written.
uint32_t* OutBytesWrittenOn success, the number of bytes that were written to OutBuffer.