From 1630aaae22824e2da7f0fd9f6de812f15365e104 Mon Sep 17 00:00:00 2001 From: Garry Newman Date: Tue, 11 Feb 2020 10:16:41 +0000 Subject: [PATCH] Adding SteamMatchmakingServers interface (for uniformity) --- .../SteamMatchmakingServers.cs | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Facepunch.Steamworks/SteamMatchmakingServers.cs diff --git a/Facepunch.Steamworks/SteamMatchmakingServers.cs b/Facepunch.Steamworks/SteamMatchmakingServers.cs new file mode 100644 index 0000000..b7c0173 --- /dev/null +++ b/Facepunch.Steamworks/SteamMatchmakingServers.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections.Generic; +using System.Runtime.InteropServices; +using System.Text; +using System.Threading.Tasks; +using Steamworks.Data; + +namespace Steamworks +{ + /// + /// Functions for clients to access matchmaking services, favorites, and to operate on game lobbies + /// + public class SteamMatchmakingServers : SteamClass + { + internal static ISteamMatchmakingServers Internal; + internal override SteamInterface Interface => Internal; + + internal override void InitializeInterface() + { + Internal = new ISteamMatchmakingServers(); + } + } +} \ No newline at end of file