2022-05-22 15:55:26 +08:00
|
|
|
|
using System.Linq;
|
2022-05-31 09:14:30 +08:00
|
|
|
|
using System.Runtime.CompilerServices;
|
2022-05-30 14:32:38 +08:00
|
|
|
|
using GTA.Math;
|
2022-05-31 09:14:30 +08:00
|
|
|
|
|
|
|
|
|
[assembly: InternalsVisibleTo("RageCoop.Server")]
|
|
|
|
|
[assembly: InternalsVisibleTo("RageCoop.Client")]
|
2022-05-22 15:55:26 +08:00
|
|
|
|
namespace RageCoop.Core
|
|
|
|
|
{
|
|
|
|
|
public class PlayerData
|
|
|
|
|
{
|
2022-05-31 09:14:30 +08:00
|
|
|
|
public string Username { get; internal set; }
|
2022-05-22 15:55:26 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Universal character ID.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int PedID
|
|
|
|
|
{
|
2022-05-31 09:14:30 +08:00
|
|
|
|
get; internal set;
|
2022-05-22 15:55:26 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2022-05-31 09:14:30 +08:00
|
|
|
|
/// The ID of player's last vehicle.
|
2022-05-22 15:55:26 +08:00
|
|
|
|
/// </summary>
|
2022-05-31 09:14:30 +08:00
|
|
|
|
public int VehicleID { get; internal set; }
|
|
|
|
|
public Vector3 Position { get;internal set; }
|
2022-05-25 10:09:59 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Player Latency in second.
|
|
|
|
|
/// </summary>
|
2022-05-31 09:14:30 +08:00
|
|
|
|
public float Latency { get; internal set; }
|
|
|
|
|
public int Health { get; internal set; }
|
2022-05-22 15:55:26 +08:00
|
|
|
|
}
|
|
|
|
|
}
|