Expose IsFollowing, GetFollowerCount, and EnumerateFollowingList in SteamFriends

This commit is contained in:
Russ Treadwell 2020-01-21 17:35:04 -05:00
parent 4e98ae5027
commit 1a263c09cf
No known key found for this signature in database
GPG Key ID: 7A373FB1F4118C62

View File

@ -298,5 +298,22 @@ public static bool ListenForFriendsMessages
} }
} }
public static async Task<bool> IsFollowing(SteamId steamID)
{
var r = await Internal.IsFollowing(steamID);
return r.Value.IsFollowing;
}
public static async Task<int> GetFollowerCount(SteamId steamID)
{
var r = await Internal.GetFollowerCount(steamID);
return r.Value.Count;
}
public static async Task<ulong[]> EnumerateFollowingList(uint StartIndex)
{
var r = await Internal.EnumerateFollowingList(StartIndex);
return r.Value.GSteamID;
}
} }
} }