public static Promise UpdatePlayerAvatarURL(string playerAvatarUrl) { var promise = new Promise(); var request = new UpdateAvatarUrlRequest { ImageUrl = playerAvatarUrl }; PlayFabClientAPI.UpdateAvatarUrl(request, (result) => { promise.Resolve(); SuccessCallback(result); }, ErrorCallback); return(promise); }
public static UnityTask <EmptyResponse> Do(UpdateAvatarUrlRequest request) { return(Do <UpdateAvatarUrlRequest, EmptyResponse>(request, PlayFabClientAPI.UpdateAvatarUrl)); }
public UnityTask <EmptyResponse> Do(UpdateAvatarUrlRequest request) { return(this.Do <UpdateAvatarUrlRequest, EmptyResponse>(request, PlayFabClientAPI.UpdateAvatarUrlAsync)); }