| 455 | } |
| 456 | |
| 457 | void PlayFabAdminAPI::DeleteTask( |
| 458 | DeleteTaskRequest& request, |
| 459 | ProcessApiCallback<EmptyResult> callback, |
| 460 | ErrorCallback errorCallback, |
| 461 | void* customData |
| 462 | ) |
| 463 | { |
| 464 | |
| 465 | IPlayFabHttp& http = IPlayFabHttp::Get(); |
| 466 | const auto requestJson = request.ToJson(); |
| 467 | http.AddRequest("/Admin/DeleteTask", "X-SecretKey", PlayFabSettings::developerSecretKey, requestJson, OnDeleteTaskResult, SharedVoidPointer((callback == nullptr) ? nullptr : new ProcessApiCallback<EmptyResult>(callback)), errorCallback, customData); |
| 468 | } |
| 469 | |
| 470 | void PlayFabAdminAPI::OnDeleteTaskResult(CallRequestContainer& request) |
| 471 | { |
nothing calls this directly
no test coverage detected