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

Method BanUsers

cpp/cppsdk/source/playfab/PlayFabServerApi.cpp:214–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212 }
213
214 void PlayFabServerAPI::BanUsers(
215 BanUsersRequest& request,
216 ProcessApiCallback<BanUsersResult> callback,
217 ErrorCallback errorCallback,
218 void* customData
219 )
220 {
221
222 IPlayFabHttp& http = IPlayFabHttp::Get();
223 const auto requestJson = request.ToJson();
224 http.AddRequest("/Server/BanUsers", "X-SecretKey", PlayFabSettings::developerSecretKey, requestJson, OnBanUsersResult, SharedVoidPointer((callback == nullptr) ? nullptr : new ProcessApiCallback<BanUsersResult>(callback)), errorCallback, customData);
225 }
226
227 void PlayFabServerAPI::OnBanUsersResult(CallRequestContainer& request)
228 {

Callers

nothing calls this directly

Calls 2

AddRequestMethod · 0.80
ToJsonMethod · 0.45

Tested by

no test coverage detected