forked from Goodgulf281/Unity-Mirror-Helper-Scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathServerData.cs
More file actions
33 lines (26 loc) · 706 Bytes
/
Copy pathServerData.cs
File metadata and controls
33 lines (26 loc) · 706 Bytes
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
32
33
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UnityGameServers
{
// This class is shared between the Unity code and the Azure Function.
// We use this to send data between the client and the Azure Function.
class ServerData
{
public string id;
public string ipAddress;
public int port;
public string scene;
public int playerCount;
}
class ServerDataList
{
public List<ServerData> data;
public ServerDataList()
{
data = new List<ServerData>();
}
}
}