| 428 | } |
| 429 | |
| 430 | void PlayFabServerAPI::ExecuteCloudScript( |
| 431 | ExecuteCloudScriptServerRequest& request, |
| 432 | ProcessApiCallback<ExecuteCloudScriptResult> callback, |
| 433 | ErrorCallback errorCallback, |
| 434 | void* customData |
| 435 | ) |
| 436 | { |
| 437 | |
| 438 | IPlayFabHttp& http = IPlayFabHttp::Get(); |
| 439 | const auto requestJson = request.ToJson(); |
| 440 | http.AddRequest("/Server/ExecuteCloudScript", "X-SecretKey", PlayFabSettings::developerSecretKey, requestJson, OnExecuteCloudScriptResult, SharedVoidPointer((callback == nullptr) ? nullptr : new ProcessApiCallback<ExecuteCloudScriptResult>(callback)), errorCallback, customData); |
| 441 | } |
| 442 | |
| 443 | void PlayFabServerAPI::OnExecuteCloudScriptResult(CallRequestContainer& request) |
| 444 | { |
nothing calls this directly
no test coverage detected