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

Method ChangeMemberRole

cpp/cppsdk/source/playfab/PlayFabEntityApi.cpp:187–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185 }
186
187 void PlayFabEntityAPI::ChangeMemberRole(
188 ChangeMemberRoleRequest& request,
189 ProcessApiCallback<EmptyResult> callback,
190 ErrorCallback errorCallback,
191 void* customData
192 )
193 {
194
195 IPlayFabHttp& http = IPlayFabHttp::Get();
196 const auto requestJson = request.ToJson();
197 http.AddRequest("/Group/ChangeMemberRole", "X-EntityToken", PlayFabSettings::entityToken, requestJson, OnChangeMemberRoleResult, SharedVoidPointer((callback == nullptr) ? nullptr : new ProcessApiCallback<EmptyResult>(callback)), errorCallback, customData);
198 }
199
200 void PlayFabEntityAPI::OnChangeMemberRoleResult(CallRequestContainer& request)
201 {

Callers

nothing calls this directly

Calls 2

AddRequestMethod · 0.80
ToJsonMethod · 0.45

Tested by

no test coverage detected