| 185 | } |
| 186 | |
| 187 | void PlayFabClientAPI::AddUserVirtualCurrency( |
| 188 | AddUserVirtualCurrencyRequest& request, |
| 189 | ProcessApiCallback<ModifyUserVirtualCurrencyResult> callback, |
| 190 | ErrorCallback errorCallback, |
| 191 | void* customData |
| 192 | ) |
| 193 | { |
| 194 | |
| 195 | IPlayFabHttp& http = IPlayFabHttp::Get(); |
| 196 | const auto requestJson = request.ToJson(); |
| 197 | http.AddRequest("/Client/AddUserVirtualCurrency", "X-Authorization", PlayFabSettings::clientSessionTicket, requestJson, OnAddUserVirtualCurrencyResult, SharedVoidPointer((callback == nullptr) ? nullptr : new ProcessApiCallback<ModifyUserVirtualCurrencyResult>(callback)), errorCallback, customData); |
| 198 | } |
| 199 | |
| 200 | void PlayFabClientAPI::OnAddUserVirtualCurrencyResult(CallRequestContainer& request) |
| 201 | { |
nothing calls this directly
no test coverage detected