Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/PendingNetGame.h |
Include |
#include "Engine/PendingNetGame.h" |
Source |
/Engine/Source/Runtime/Engine/Private/PendingNetGame.cpp |
void SetEncryptionKey
(
const FEncryptionKeyResponse & Response
)
Set the encryption key for the connection. This doesn't cause outgoing packets to be encrypted, but it allows the connection to decrypt any incoming packets if needed.
Parameter |
Description |
---|---|
Response |
response from the game containing its encryption key or an error message |