File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 1
- using System . Threading . Tasks ;
1
+ using System . Threading . Tasks ;
2
2
using PlayFab ;
3
3
using PlayFab . ClientModels ;
4
4
using ThomasBrown . PlayFab ;
@@ -194,6 +194,21 @@ public static Task<PlayFabCommonResponse<AddFriendResult>> AddFriendAsync(AddFri
194
194
} ) ;
195
195
return taskCompletionSource . Task ;
196
196
}
197
+
198
+ /// <inheritdoc cref="PlayFabClientAPI.SetFriendTags"/>
199
+ public static Task < PlayFabCommonResponse < SetFriendTagsResult > > SetFriendTagsAsync ( SetFriendTagsRequest request )
200
+ {
201
+ var taskCompletionSource = new TaskCompletionSource < PlayFabCommonResponse < SetFriendTagsResult > > ( ) ;
202
+ PlayFabClientAPI . SetFriendTags ( request , ( result ) =>
203
+ {
204
+ taskCompletionSource . SetResult ( new PlayFabCommonResponse < SetFriendTagsResult > ( result , null ) ) ;
205
+ } , ( error ) =>
206
+ {
207
+ taskCompletionSource . SetResult ( new PlayFabCommonResponse < SetFriendTagsResult > ( null , error ) ) ;
208
+ } ) ;
209
+ return taskCompletionSource . Task ;
210
+ }
211
+
197
212
/// <inheritdoc cref="PlayFabClientAPI.GetTime"/>
198
213
public static Task < PlayFabCommonResponse < GetTimeResult > > GetTimeAsync (
199
214
GetTimeRequest request )
You can’t perform that action at this time.
0 commit comments