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; } } }