diff options
Diffstat (limited to 'Client/Assembly-CSharp/InnerNet/GameListing.cs')
-rw-r--r-- | Client/Assembly-CSharp/InnerNet/GameListing.cs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Client/Assembly-CSharp/InnerNet/GameListing.cs b/Client/Assembly-CSharp/InnerNet/GameListing.cs new file mode 100644 index 0000000..d10ea34 --- /dev/null +++ b/Client/Assembly-CSharp/InnerNet/GameListing.cs @@ -0,0 +1,30 @@ +using System; + +namespace InnerNet +{ + [Serializable] + public struct GameListing + { + public int GameId; + + public byte PlayerCount; + + public byte ImpostorCount; + + public byte MaxPlayers; + + public int Age; + + public string HostName; + + public GameListing(int id, byte numImpostors, byte playerCount, byte maxPlayers, int age, string host) + { + this.GameId = id; + this.ImpostorCount = numImpostors; + this.PlayerCount = playerCount; + this.MaxPlayers = maxPlayers; + this.Age = age; + this.HostName = host; + } + } +} |