Files
LuaCsForBarotraumaEP/Libraries/Facepunch.Steamworks/SteamMatchmakingServers.cs
2023-10-02 16:43:54 +03:00

26 lines
730 B
C#

using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using Steamworks.Data;
namespace Steamworks
{
/// <summary>
/// Methods for clients to access matchmaking services, favorites, and to operate on game lobbies
/// </summary>
internal class SteamMatchmakingServers : SteamClientClass<SteamMatchmakingServers>
{
internal static ISteamMatchmakingServers? Internal => Interface as ISteamMatchmakingServers;
internal override bool InitializeInterface( bool server )
{
SetInterface( server, new ISteamMatchmakingServers( server ) );
if ( Interface is null || Interface.Self == IntPtr.Zero ) return false;
return true;
}
}
}