mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-24 13:45:37 +03:00
Test fixes
This commit is contained in:
parent
a09f30709c
commit
a908a9b994
@ -42,6 +42,11 @@ public void InternetList()
|
||||
Console.WriteLine( "Responded: " + query.Responded.Count.ToString() );
|
||||
Console.WriteLine( "Unresponsive: " + query.Unresponsive.Count.ToString() );
|
||||
|
||||
foreach ( var server in query.Responded.Take( 20 ) )
|
||||
{
|
||||
Console.WriteLine( "{0} {1}", server.AddressString, server.Name );
|
||||
}
|
||||
|
||||
query.Dispose();
|
||||
|
||||
for ( int i = 0; i < 100; i++ )
|
||||
@ -313,12 +318,12 @@ public void PlayerList()
|
||||
|
||||
query.Dispose();
|
||||
|
||||
var server = query.Responded.First( x => x.Players > 5 );
|
||||
server.UpdateRules();
|
||||
// var server = query.Responded.First( x => x.Players > 5 );
|
||||
// server.UpdateRules();
|
||||
|
||||
foreach ( var rule in server.Rules )
|
||||
// foreach ( var rule in server.Rules )
|
||||
{
|
||||
Console.WriteLine( rule.Key + " = " + rule.Value );
|
||||
// Console.WriteLine( rule.Key + " = " + rule.Value );
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user