mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-24 13:45:37 +03:00
Added server
This commit is contained in:
parent
a9d6ea6cef
commit
c0df4af9da
@ -161,11 +161,11 @@ private void OnServer( gameserveritem_t info )
|
||||
{
|
||||
if ( info.m_bHadSuccessfulResponse )
|
||||
{
|
||||
Responded.Add( Server.FromSteam( client, info ) );
|
||||
Responded.Add( Server.FromSteam( info ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
Unresponsive.Add( Server.FromSteam( client, info ) );
|
||||
Unresponsive.Add( Server.FromSteam( info ) );
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -127,6 +127,7 @@
|
||||
<Compile Include="Client\Stats.cs" />
|
||||
<Compile Include="Client\Voice.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Server.cs" />
|
||||
<Compile Include="steam_api_interop.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
|
@ -9,7 +9,7 @@ namespace Facepunch.Steamworks
|
||||
{
|
||||
public partial class ServerList
|
||||
{
|
||||
public class Server
|
||||
public struct Server
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public int Ping { get; set; }
|
||||
|
Loading…
Reference in New Issue
Block a user