blob: 8ad38a82479e95d19f140d677fba617df364eafb (
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
31
|
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;
}
}
}
|