-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPlayerInfo.cs
47 lines (46 loc) · 1.33 KB
/
PlayerInfo.cs
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
using PoliceMP.Core.Shared.Models;
using PoliceMP.Shared.Enums;
namespace PoliceMP.Shared.Models
{
public class PlayerInfo
{
/// <summary>
/// Player Name
/// </summary>
public string Name { get; set; }
/// <summary>
/// Serverside PlayerList Index
/// </summary>
public int Index { get; set; }
public int ServerHandle { get; set; }
public RoutingBucket RoutingBucket { get; set; }
/// <summary>
/// Ped NetworkId
/// </summary>
public int NetworkId { get; set; }
/// <summary>
/// Ped Position
/// </summary>
public Vector3 Position { get; set; }
/// <summary>
/// Ped Rotation
/// </summary>
public Vector3 Rotation { get; set; }
/// <summary>
/// Ped NetworkID - 0 if not in a vehicle
/// </summary>
public int VehicleNetworkId { get; set; }
/// <summary>
/// Assigned /callsign
/// </summary>
public string CallSign { get; set; }
/// <summary>
/// Selected Branch / Faction
/// </summary>
public UserBranch ActiveBranch { get; set; }
/// <summary>
/// Selected Sub Division
/// </summary>
public UserDivision ActiveDivision { get; set; }
}
}