MCPcopy Create free account
hub / github.com/PlayFab/gsdk / EvaluateRandomResultTable

Method EvaluateRandomResultTable

cpp/cppsdk/source/playfab/PlayFabServerApi.cpp:403–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

401 }
402
403 void PlayFabServerAPI::EvaluateRandomResultTable(
404 EvaluateRandomResultTableRequest& request,
405 ProcessApiCallback<EvaluateRandomResultTableResult> callback,
406 ErrorCallback errorCallback,
407 void* customData
408 )
409 {
410
411 IPlayFabHttp& http = IPlayFabHttp::Get();
412 const auto requestJson = request.ToJson();
413 http.AddRequest("/Server/EvaluateRandomResultTable", "X-SecretKey", PlayFabSettings::developerSecretKey, requestJson, OnEvaluateRandomResultTableResult, SharedVoidPointer((callback == nullptr) ? nullptr : new ProcessApiCallback<EvaluateRandomResultTableResult>(callback)), errorCallback, customData);
414 }
415
416 void PlayFabServerAPI::OnEvaluateRandomResultTableResult(CallRequestContainer& request)
417 {

Callers

nothing calls this directly

Calls 2

AddRequestMethod · 0.80
ToJsonMethod · 0.45

Tested by

no test coverage detected