forked from Unity-Technologies/com.unity.netcode.gameobjects
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNetworkedClient.cs
More file actions
27 lines (26 loc) · 745 Bytes
/
Copy pathNetworkedClient.cs
File metadata and controls
27 lines (26 loc) · 745 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
using System.Collections.Generic;
namespace MLAPI.Connection
{
/// <summary>
/// A NetworkedClient
/// </summary>
public class NetworkedClient
{
/// <summary>
/// The Id of the NetworkedClient
/// </summary>
public ulong ClientId;
/// <summary>
/// The PlayerObject of the Client
/// </summary>
public NetworkedObject PlayerObject;
/// <summary>
/// The NetworkedObject's owned by this Client
/// </summary>
public readonly List<NetworkedObject> OwnedObjects = new List<NetworkedObject>();
/// <summary>
/// The encryption key used for this client
/// </summary>
public byte[] AesKey;
}
}