| 375 | } |
| 376 | |
| 377 | void PlayFabClientAPI::ExecuteCloudScript( |
| 378 | ExecuteCloudScriptRequest& request, |
| 379 | ProcessApiCallback<ExecuteCloudScriptResult> callback, |
| 380 | ErrorCallback errorCallback, |
| 381 | void* customData |
| 382 | ) |
| 383 | { |
| 384 | |
| 385 | IPlayFabHttp& http = IPlayFabHttp::Get(); |
| 386 | const auto requestJson = request.ToJson(); |
| 387 | http.AddRequest("/Client/ExecuteCloudScript", "X-Authorization", PlayFabSettings::clientSessionTicket, requestJson, OnExecuteCloudScriptResult, SharedVoidPointer((callback == nullptr) ? nullptr : new ProcessApiCallback<ExecuteCloudScriptResult>(callback)), errorCallback, customData); |
| 388 | } |
| 389 | |
| 390 | void PlayFabClientAPI::OnExecuteCloudScriptResult(CallRequestContainer& request) |
| 391 | { |
nothing calls this directly
no test coverage detected