MLAPI/MLAPI/Data/NetworkedClient.cs
2018-04-03 18:10:25 +02:00

30 lines
776 B
C#

using MLAPI.MonoBehaviours.Core;
using System.Collections.Generic;
using UnityEngine;
namespace MLAPI.Data
{
/// <summary>
/// A NetworkedClient
/// </summary>
public class NetworkedClient
{
/// <summary>
/// The Id of the NetworkedClient
/// </summary>
public uint ClientId;
/// <summary>
/// The PlayerObject of the Client
/// </summary>
public GameObject PlayerObject;
/// <summary>
/// The NetworkedObject's owned by this Client
/// </summary>
public List<NetworkedObject> OwnedObjects = new List<NetworkedObject>();
/// <summary>
/// The encryption key used for this client
/// </summary>
public byte[] AesKey;
}
}