From 96eeea1662655d28b6e6430f01795c1ad2160451 Mon Sep 17 00:00:00 2001 From: Garry Newman Date: Wed, 1 May 2019 13:23:13 +0100 Subject: [PATCH] GetPlayedWith test RequestInfo on each user first --- Facepunch.Steamworks.Test/FriendsTest.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Facepunch.Steamworks.Test/FriendsTest.cs b/Facepunch.Steamworks.Test/FriendsTest.cs index 710e5d3..f8183f9 100644 --- a/Facepunch.Steamworks.Test/FriendsTest.cs +++ b/Facepunch.Steamworks.Test/FriendsTest.cs @@ -35,10 +35,12 @@ public void GetBlocked() } [TestMethod] - public void GetPlayedWith() + public async Task GetPlayedWith() { foreach ( var friend in SteamFriends.GetPlayedWith() ) { + await friend.RequestInfoAsync(); + Console.WriteLine( $"{friend.Id.Value}: {friend.Name} (Friend:{friend.IsFriend}) (Blocked:{friend.IsBlocked})" ); Console.WriteLine( $" {string.Join( ", ", friend.NameHistory )}" );