From 2872bb92f7371043c84a89d9623ed9c00bda68b3 Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Sat, 15 Feb 2020 21:23:03 -0500 Subject: [PATCH 1/2] added EntryCount to Leaderboard --- Facepunch.Steamworks/Structs/Leaderboard.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Facepunch.Steamworks/Structs/Leaderboard.cs b/Facepunch.Steamworks/Structs/Leaderboard.cs index 2010a33..01b004a 100644 --- a/Facepunch.Steamworks/Structs/Leaderboard.cs +++ b/Facepunch.Steamworks/Structs/Leaderboard.cs @@ -17,6 +17,7 @@ namespace Steamworks.Data public string Name => SteamUserStats.Internal.GetLeaderboardName( Id ); public LeaderboardSort Sort => SteamUserStats.Internal.GetLeaderboardSortMethod( Id ); public LeaderboardDisplay Display => SteamUserStats.Internal.GetLeaderboardDisplayType( Id ); + public int EntryCount => SteamUserStats.Internal.GetLeaderboardEntryCount(Id); static int[] detailsBuffer = new int[64]; static int[] noDetails = new int[0]; From 6c84df0ef88835ffdb113eebe5a5bb875c61a0f7 Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Sun, 16 Feb 2020 12:15:27 -0500 Subject: [PATCH 2/2] fixed indent for EntryCount --- Facepunch.Steamworks/Structs/Leaderboard.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Facepunch.Steamworks/Structs/Leaderboard.cs b/Facepunch.Steamworks/Structs/Leaderboard.cs index 01b004a..afc18a3 100644 --- a/Facepunch.Steamworks/Structs/Leaderboard.cs +++ b/Facepunch.Steamworks/Structs/Leaderboard.cs @@ -17,7 +17,7 @@ namespace Steamworks.Data public string Name => SteamUserStats.Internal.GetLeaderboardName( Id ); public LeaderboardSort Sort => SteamUserStats.Internal.GetLeaderboardSortMethod( Id ); public LeaderboardDisplay Display => SteamUserStats.Internal.GetLeaderboardDisplayType( Id ); - public int EntryCount => SteamUserStats.Internal.GetLeaderboardEntryCount(Id); + public int EntryCount => SteamUserStats.Internal.GetLeaderboardEntryCount(Id); static int[] detailsBuffer = new int[64]; static int[] noDetails = new int[0];