mirror of
https://github.com/thegeneralist01/Scene-Manager-DevRepo
synced 2026-01-11 15:40:29 +01:00
Added Driver property
This commit is contained in:
parent
305aa22af2
commit
b619e48650
1 changed files with 2 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ namespace SceneManager
|
|||
{
|
||||
public class CollectedVehicle
|
||||
{
|
||||
public Ped Driver { get; private set; }
|
||||
public Vehicle Vehicle { get; private set; }
|
||||
public string LicensePlate { get; private set; }
|
||||
public int Path { get; private set; }
|
||||
|
|
@ -16,6 +17,7 @@ namespace SceneManager
|
|||
public CollectedVehicle(Vehicle vehicle, string licensePlate, int path, int totalWaypoints, int currentWaypoint, bool tasksAssigned, bool dismissNow)
|
||||
{
|
||||
Vehicle = vehicle;
|
||||
Driver = vehicle.Driver;
|
||||
LicensePlate = licensePlate;
|
||||
Path = path;
|
||||
TotalWaypoints = totalWaypoints;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue