diff --git a/Facepunch.Steamworks/SteamMatchmaking.cs b/Facepunch.Steamworks/SteamMatchmaking.cs index 318ff20..794194a 100644 --- a/Facepunch.Steamworks/SteamMatchmaking.cs +++ b/Facepunch.Steamworks/SteamMatchmaking.cs @@ -143,5 +143,28 @@ static private unsafe void OnLobbyChatMessageRecievedAPI( LobbyChatMsg_t callbac return new Lobby { Id = lobby.Value.SteamIDLobby }; } + /// + /// Get a list of servers that are on your favorites list + /// + public static IEnumerable GetFavoriteServers() + { + var count = Internal.GetFavoriteGameCount(); + + for( int i=0; i /// Add this server to our history list /// If we're already in the history list, weill set the last played time to now