Discussions

Ask a Question
Back to All

Please help a C++ SDK beginner

The SDK tutorial starts with:

"Direct integration of the SDKs into game clients is strictly not recommended due to potential security risks and exposure of your secret. Including server API tokens/keys within the games can lead to major risks if discovered by others, since they could make unauthorized calls on the server."

So where does this C++ code go:

using namespace enjin::platform::sdk;
using namespace std;

unique_ptr client = PlatformClient::Builder()
.SetBaseAddress("https://")
.Build();

If not in the game client exe?

Thanks.