blob: d10ea34eb9366a59abd573a4cac9b21566a00f0c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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;
}
}
}
|